Closed Snap252 closed 1 year ago
interestingly, openapi processor doesn't explicitly check any of the components
properties. I think it depends a bit on the openapi parser to help with it.
I have never used it. Usually I just $ref
into another file which may be the reason I never noticed this before.
Will have to look at it in more detail.
Workaround is probably to $ref
on the schema
, ie.
schema:
$ref: '....'
Thanks for reporting!
fixed in 2023.1
like given here https://swagger.io/docs/specification/describing-request-body/ -> "Reusable Bodies"
I would like to use this feature for code generation
example:
Exception via mvn:
pom.xml: