-
-
Notifications
You must be signed in to change notification settings - Fork 546
Closed
Description
A key feature offered by Springfox that was very appealing for reverse-engineering/retrofitting an existing Spring Boot microservice to generate an OAS was the ability to ad-hoc pick up POJOs and have a schema generated for it.
This was done using .additionalModels(typeResolver.resolve(AdditionalModel.class));
in the builder pattern for the Docket. See https://springfox.github.io/springfox/docs/snapshot/#springfox-spring-mvc-and-spring-boot example 24 for a hands on example, but this was extremely convenient as it would generate the schema/component definitions for me for deeply nested objects.
Is there already support for this? If so, it would be a great add to FAQ.
Metadata
Metadata
Assignees
Labels
No labels