I’d like to be able to produce Open API specs with inline request and response schemas. Although this is possible via the filter, it undos a lot of generation and is messy.
I think a better approach would be to be able to set an InlineDeclaration
property on the ApiAttribute
. When true
the model would be inlined everywhere is used.
I’m happy to make the changes and submit a PR, but want to get your feedback before proceeding.