-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Open
Labels
Description
The swagger docs mention being able to Describing Responses inline .. https://swagger.io/docs/specification/describing-responses/ (ie no refs).
However when I tried this then the spring code gen created no model objects to represent the return value.
It does create an api/ dir but the the apis all ended up as returning "ResponseEntity" and the annotation on the interface are all Object.class.
Is it a fact that the code gen tooling does not support inline response schemata and I must always place this in the components/* section and use ref ?
I'm reporting as a I was expecting this to do something useful which at present it does not.
I will give more of a workup if someone thinks this ought to work.
Reactions are currently unavailable