Skip to content

Commit 582ff78

Browse files
author
João Araújo
committed
refactor: change the new endpoint name
1 parent 9816d6c commit 582ff78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void filterOpenAPI(OpenAPI openAPI) {
5353
openAPI.getPaths()
5454
.addPathItem(basePath, createLoggersPathItem())
5555
.addPathItem(basePath + "/levels", createLevelsPathItem())
56-
.addPathItem(basePath + "/duration", createDurationPathItem());
56+
.addPathItem(basePath + "/temporary-level", createTemporaryLevelPathItem());
5757
}
5858

5959

@@ -143,7 +143,7 @@ private PathItem createLevelsPathItem() {
143143
.items(OASFactory.createSchema().ref(REF_LOGGER_LEVEL))))))));
144144
}
145145

146-
private PathItem createDurationPathItem() {
146+
private PathItem createTemporaryLevelPathItem() {
147147
Map<String, Schema> properties = new LinkedHashMap<>();
148148
properties.put("loggerName", OASFactory.createSchema().type(List.of(Schema.SchemaType.STRING)));
149149
properties.put("loggerLevel", OASFactory.createSchema().ref(REF_LOGGER_LEVEL));

0 commit comments

Comments
 (0)