You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the whole thing of swagger/swashbuckle is also to allow contract driven development but by writing code first, openapi should be autogenerated by code, so that devs can just implement endpoints and a working contract is generated based on those and endpoint metadata..
@jkone27 no, it's impossible to generate OpenApi spec using reflection, since EndpointHandler doesn't have any information about input or output type (it's type is HttpContext -> Task), that's why manual configuration is required (and then generation is based on reflection as you requested). Also, current implelentation was ported to Giraffe as is, so it will be easy to change between frameworks if needed.
first and foremost thank you so much for this awesome project :)
is there a way to add openapi spec with reflection instead of having to manually configure endpoints?
https://github.com/Lanayx/Oxpecker/blob/51d8e2db9e30f6817c7e8ffafc7cc22228b385a3/src/Oxpecker.OpenApi/README.md
the whole thing of swagger/swashbuckle is also to allow contract driven development but by writing code first, openapi should be autogenerated by code, so that devs can just implement endpoints and a working contract is generated based on those and endpoint metadata..
pimbrouwers/Falco#49
i see this package is doing something similar to this: oki
https://gist.github.com/jkone27/953d4c1ecdb85b66dbee00debe934d16
The text was updated successfully, but these errors were encountered: