Closed Devashree closed 4 months ago
Hi,
The option schemasInComponent
was removed with version 2.0.
What gets added to the components section is mainly determined by the configuration of the json-schema-generator (more info here: Customizing the default Encoder). However, i think the options may be somewhat limited and may already be configured to reference schemas where possible.
I am already working on improvements to schema generation, but that may still take some time to be completly ready.
install(SwaggerUI) {
}
currently using 2.7.3 version . want to generate ref for each dataModel. I am not sure how to use schemasInComponent = true to help generate current schema ref. Example: Currently generated: