Skip to content

Commit 2471983

Browse files
authored
Fix #374: POST method loggerName as string (#375)
1 parent 1db9875 commit 2471983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/src/main/java/io/quarkiverse/loggingmanager/deployment/LoggingManagerOpenAPIFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private Operation createLoggersGetOperation() {
104104

105105
private Operation createLoggerPostOperation() {
106106
Map<String, Schema> properties = new LinkedHashMap<>();
107-
properties.put("loggerName", OASFactory.createSchema());
107+
properties.put("loggerName", OASFactory.createSchema().type(List.of(Schema.SchemaType.STRING)));
108108
properties.put("loggerLevel", OASFactory.createSchema().ref(REF_LOGGER_LEVEL));
109109
return OASFactory.createOperation()
110110
.operationId("logging_manager_update")

0 commit comments

Comments
 (0)