We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2224ee2 commit 9419bceCopy full SHA for 9419bce
src/main/java/io/dinject/javalin/generator/openapi/SchemaDocBuilder.java
@@ -150,9 +150,9 @@ private Schema<?> buildObjectSchema(TypeMirror type) {
150
schemas.put(objectSchemaKey, objectSchema);
151
}
152
153
- ObjectSchema obRef = new ObjectSchema();
154
- obRef.$ref("#/components/schemas/" + objectSchemaKey);
155
- return obRef;
+ Schema ref = new Schema();
+ ref.$ref("#/components/schemas/" + objectSchemaKey);
+ return ref;
156
157
158
private Schema<?> buildIterableSchema(TypeMirror type) {
0 commit comments