podhmo / reflect-openapi

Define OpenAPI with reflect package
Apache License 2.0
3 stars 0 forks source link

override by tag #87

Closed podhmo closed 2 years ago

podhmo commented 2 years ago

type Person struct {
  Title string `openapi-override: "{'x-xxx':  'foo'}"`
}
podhmo commented 2 years ago

see: https://github.com/podhmo/reflect-openapi/pull/88/files#diff-205fbf4b3c9d908d0cf224cdb92427dce6bb29b8f506add839b2ce9cde7e3b1d