Skip to content

Commit 976bd1b

Browse files
authored
Fix tag name (#370)
1 parent e59f874 commit 976bd1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import org.eclipse.microprofile.openapi.models.PathItem;
1313
import org.eclipse.microprofile.openapi.models.media.Schema;
1414
import org.eclipse.microprofile.openapi.models.parameters.Parameter;
15+
import org.eclipse.microprofile.openapi.models.tags.Tag;
1516

1617
import io.quarkiverse.loggingmanager.LogController;
17-
import io.smallrye.openapi.internal.models.tags.Tag;
1818

1919
/**
2020
* Create OpenAPI entries (if configured)
@@ -46,7 +46,7 @@ public void filterOpenAPI(OpenAPI openAPI) {
4646
if (openAPI.getPaths() == null) {
4747
openAPI.setPaths(OASFactory.createPaths());
4848
}
49-
Tag tag = new Tag();
49+
Tag tag = OASFactory.createTag();
5050
tag.setName(this.tag);
5151
tag.setDescription("Visualize and manage the log level of your loggers.");
5252
openAPI.addTag(tag);
@@ -140,4 +140,4 @@ private PathItem createLevelsPathItem() {
140140
.items(OASFactory.createSchema().ref(REF_LOGGER_LEVEL))))))));
141141
}
142142

143-
}
143+
}

0 commit comments

Comments
 (0)