Skip to content

Generate API client with libopenapi #78

Description

@bmarinov

Is your feature request related to a problem? Please describe.
The Garage API spec is written in OpenAPI 3.1 which was not supported by openap-codegen and upstreams. Support has improved recently, and there are other alternatives which can be explored.

Describe the solution you'd like
Check if https://github.com/pb33f/libopenapi works out of the box and generate the API client.

Describe alternatives you've considered
kin-openapi supports 3.1 already - https://github.com/getkin/kin-openapi/releases/tag/v0.136.0 - but downstream projects seem to be lagging behind. oapi-codegen/oapi-codegen#373 is still open. Might be worth sticking to it but libopenapi looks good on the surface.

Additional context
The manual client has been working out well so far, and maybe less dependencies = better?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions