Skip to content

Commit be704aa

Browse files
committed
chore: spotless
1 parent 82c6c2e commit be704aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

springwolf-core/src/main/java/io/github/springwolf/core/asyncapi/schemas/SwaggerSchemaUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public ComponentSchema mapSchemaOrRef(Schema swaggerSchema, SchemaFormat schemaF
6262
*/
6363
public ComponentSchema mapSchema(Schema swaggerSchema, SchemaFormat schemaFormat) {
6464
return switch (schemaFormat) {
65-
case OPENAPI_V3, OPENAPI_V3_1 ->
66-
ComponentSchema.of(new MultiFormatSchema(schemaFormat.value, swaggerSchema));
65+
case OPENAPI_V3, OPENAPI_V3_1 -> ComponentSchema.of(
66+
new MultiFormatSchema(schemaFormat.value, swaggerSchema));
6767
case ASYNCAPI_V3 -> ComponentSchema.of(mapSwaggerSchemaToAsyncApiSchema(swaggerSchema));
6868
default -> throw new IllegalArgumentException("SchemaFormat " + schemaFormat + " is not supported");
6969
};

0 commit comments

Comments
 (0)