Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/proto: improvements to OpenAPIv2 spec #4555

Merged
merged 21 commits into from
Apr 8, 2024

Commits on Apr 6, 2024

  1. internal/gen: better API docs

    Add various pieces of metadata that can be used by the API docs renderer.
    Improve the service labels by specifying explicit tags.
    Specify error responses. Specify version at generation time.
    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    945148a View commit details
    Browse the repository at this point in the history
  2. internal/gen: add better errors

    The default error entry is now used to cover all errors, as
    adding a new error for every possible status code was a bit much.
    This also properly includes the real error type now!
    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    338c6d2 View commit details
    Browse the repository at this point in the history
  3. Add various pieces of metadata that can be used by the API docs rende…

    …rer. Improve the service labels by specifying explicit tags.
    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    dec435f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d03b27 View commit details
    Browse the repository at this point in the history
  5. make API docs better

    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    b096923 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f134e5 View commit details
    Browse the repository at this point in the history
  7. internal/gen: better attribute examples

    Replace Output Only comments with a field behavior annotation in accounts.
    Mark some fields as required.
    Add elaborate description for attributes.
    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    19c44ea View commit details
    Browse the repository at this point in the history
  8. Make API docs better

    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    cb76393 View commit details
    Browse the repository at this point in the history
  9. Make API docs better

    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    c1685ad View commit details
    Browse the repository at this point in the history
  10. Make API docs better

    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    f872cc0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    96a9003 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e5eb7a4 View commit details
    Browse the repository at this point in the history
  13. Make API docs better

    jigar-hashicorp authored and johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8c8627d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6454700 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ea14902 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    856d25e View commit details
    Browse the repository at this point in the history
  17. internal/gen: add better API intro

    Copy parts of the API docs into the description
    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    17dbcec View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0062e21 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4415352 View commit details
    Browse the repository at this point in the history
  20. internal/gen: remove required annotations

    Unfortunately, while these help with the creating of resources, they still
    appear required in contexts where they are not, such as when
    updating a resource.
    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    2330d3f View commit details
    Browse the repository at this point in the history
  21. Review comments

    johanbrandhorst committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    2c40770 View commit details
    Browse the repository at this point in the history