podhmo / reflect-openapi

Define OpenAPI with reflect package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generate markdown document

podhmo opened this issue · comments

  • no API execution mechanism (read only)
  • 1column
  • permalink everywhere
  • input/output with go's struct like expression
  • copy and paste friendly (duplicated text is OK (e.g. the path of endpoints ), document is not DRY)

why input is not general openapi doc?

because it is easy that implements the subset instead of fullset

not support

  • oneOf,anyOf,allOf
  • explode in path parameters
  • form data
  • path.parameters (not operation.parameters)
  • request, response components

TODO

  • input example
  • response headers