File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
deployment/src/main/java/io/quarkiverse/loggingmanager/deployment Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
import org .eclipse .microprofile .openapi .models .PathItem ;
13
13
import org .eclipse .microprofile .openapi .models .media .Schema ;
14
14
import org .eclipse .microprofile .openapi .models .parameters .Parameter ;
15
+ import org .eclipse .microprofile .openapi .models .tags .Tag ;
15
16
16
17
import io .quarkiverse .loggingmanager .LogController ;
17
- import io .smallrye .openapi .internal .models .tags .Tag ;
18
18
19
19
/**
20
20
* Create OpenAPI entries (if configured)
@@ -46,7 +46,7 @@ public void filterOpenAPI(OpenAPI openAPI) {
46
46
if (openAPI .getPaths () == null ) {
47
47
openAPI .setPaths (OASFactory .createPaths ());
48
48
}
49
- Tag tag = new Tag ();
49
+ Tag tag = OASFactory . createTag ();
50
50
tag .setName (this .tag );
51
51
tag .setDescription ("Visualize and manage the log level of your loggers." );
52
52
openAPI .addTag (tag );
@@ -140,4 +140,4 @@ private PathItem createLevelsPathItem() {
140
140
.items (OASFactory .createSchema ().ref (REF_LOGGER_LEVEL ))))))));
141
141
}
142
142
143
- }
143
+ }
You can’t perform that action at this time.
0 commit comments