Closed guptachetan1997 closed 1 year ago
Hi, thanks for reporting this issue. your config for the "schemaGeneratorConfigBuilder" is correct and would produce the wanted json-schema. However, the swaggerui-plugin currently does not support this scenario. I'm going to look for a possible solution to allow/fix this.
Should be fixed with version 2.0.0+
I have tried multiple config options in the schema builder, but am not able to configure "All Schema in definitions". The spec being generated has the main schema in components, but the internal models are coming inline. This is leading to very long class names, as it is concatenating the main class name with the field name and putting "inner" in the name as well.
I think this should be the correct config for what I want, but if I try this then the schema does not get generated:
What I want is to generate the spec where for this class:
The generated schema should be:
What I being generated currently: