Documentation
¶
Overview ¶
openapi-generator generates both clients and servers from an OpenAPI v3 spec. It provides an interface that you implement. The individual route handlers do not conform to the http.Handler interface. Path params and input bodies are added as fields in structs, added to the route method signature. The response bodies must be created manually from the generated models, then wrapped with a status code. Errors are returned in this way as well.
Click to show internal directories.
Click to hide internal directories.