Description
While editing an application.properties
file in an IDE I noticed that springdoc.swagger-ui.syntax
gets completed into springdoc.swagger-ui.syntax-highlight
but this is not enough it should propose springdoc.swagger-ui.syntax-highlight.theme
and springdoc.swagger-ui.syntax-highlight.activate
.
Infact the configuration properties metadata extracted by Spring Boot configuration processor is incomplete. I checked META-INF/spring-configuration-metadata.json
in springdoc-openapi-common-1.5.0.jar
and it contains only:
...
{
"name": "springdoc.swagger-ui.syntax-highlight",
"type": "org.springdoc.core.AbstractSwaggerUiConfigProperties$SyntaxHighlight",
"description": "The Syntax highlight.",
"sourceType": "org.springdoc.core.SwaggerUiConfigProperties"
},
...
The configuration properties class org.springdoc.core.AbstractSwaggerUiConfigProperties
seems correct and the configuration processor should extract the metadata from org.springdoc.core.AbstractSwaggerUiConfigProperties$SyntaxHighlight
inner class.
It would be useful to see why configuration metadata for the inner SyntaxHighlight
class is not extracted.