Skip to content

mworzala/openapi-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openapi-go

An opinionated openapi server code generator for go

todo format me + add more

Below are the additional spec properties added

  • info.x-base-path - path for the server excl. version (default: /{specName}, example: /abc -> /v1/abc)
  • paths.{path}.{method}.responses.{code}.x-type - set to empty to use that code as the empty response. That code may not have a response body.

Object properties are treated as required unless the individual field has required: false or the object root has required: false.

About

Highly opinionated OpenAPI HTTP server generator for Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages