Skip to content

Commit a9a2a2c

Browse files
authored
add needed runtime reflection hints for native image
1 parent d9520c1 commit a9a2a2c

File tree

1 file changed

+3
-0
lines changed
  • springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/hints

1 file changed

+3
-0
lines changed

Diff for: springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/hints/SpringDocHints.java

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public class SpringDocHints implements RuntimeHintsRegistrar {
113113
io.swagger.v3.oas.models.media.Schema.class,
114114
io.swagger.v3.oas.models.media.Content.class,
115115
io.swagger.v3.oas.models.media.ArraySchema.class,
116+
io.swagger.v3.oas.models.media.JsonSchema.class,
116117
io.swagger.v3.oas.models.responses.ApiResponse.class,
117118
io.swagger.v3.oas.models.responses.ApiResponses.class,
118119
io.swagger.v3.oas.models.ExternalDocumentation.class,
@@ -122,6 +123,7 @@ public class SpringDocHints implements RuntimeHintsRegistrar {
122123
io.swagger.v3.oas.models.Operation.class,
123124
io.swagger.v3.oas.models.headers.Header.class,
124125
ModelConverter.class,
126+
io.swagger.v3.core.converter.ModelConverterContextImpl.class,
125127
ModelConverters.class,
126128
SpecFilter.class,
127129
MediaType.class,
@@ -166,6 +168,7 @@ public class SpringDocHints implements RuntimeHintsRegistrar {
166168
MediaTypeMixin.class,
167169
//oas 3.1
168170
Schema31Mixin.class,
171+
Schema31Mixin.TypeSerializer.class,
169172
Components31Mixin.class,
170173
OpenAPI31Mixin.class,
171174
Discriminator31Mixin.class,

0 commit comments

Comments
 (0)