[Feature Request] Add allow/deny rules to the output in the openapi plugin
Is your feature request related to a problem? Please describe. In the schema.zmodel we can express the bulk of our authorization related rules. It would be amazing if this would automatically be included in openapi spec file.
Describe the solution you'd like
Based on the @@allow / @@deny annotations in the model, the relevant 403 response documentation is automatically extended with a textual representation.
Describe alternatives you've considered Some other way in code to add such information manually (also for other responses) so that it is automatically included when regenerating the openapi json spec file.
Additional context OpenAPI does not cover anything beyond authentication it seems: https://swagger.io/docs/specification/v3_0/authentication/