Replies: 2 comments
-
Upvote all of this! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related to #1771. Respecting rest.methods from tables and views when generating the OpenAPI document might help here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today, the OpenAPI generated by DAB is including actions that are not supported by the API.
Why not filtering out these methods?
For example, when using the following entity configuration:
We can expect not to see the PUT, PATCH, DELETE or POST verbs in the OpenAPI document.
Corresponding schemas (I'm thinking about NoAutoPK and NoPK for example) might be filtering out as well.
That would make the OpenAPI more production-ready, which can be useful to generate a better Swagger documentation or to more easily import the API in Azure API Management for example.
Beta Was this translation helpful? Give feedback.
All reactions