Skip to content

Conversation

@a-h
Copy link
Contributor

@a-h a-h commented Apr 16, 2024

https://github.com/a-h/rest uses kin-openapi to generate OpenAPI 3.0 specs from Go code.

It can also host the Swagger-UI endpoint for the generated OpenAPI spec.

You provide the API routes, and define the types used for requests and responses, and github.com/a-h/rest will generate the OpenAPI 3.0 spec for you.

You can further customise the generated OpenAPI spec by providing additional information, such as descriptions and examples by adding an ApplyCustomSchema method to your types, or by customising the generated OpenAPI spec object directly.

@fenollp fenollp merged commit f66e2a1 into getkin:master Apr 16, 2024
@a-h a-h deleted the add_a_h_rest_to_projects_list branch April 16, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants