Skip to content

Commit 9c743c9

Browse files
authored
Merge pull request #414 from Emily-Jiang/master
fix the app and remove the warning
2 parents f344f70 + 3c40946 commit 9c743c9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/it/java/org/eclipse/microprofile/starter/utils/Whitelist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public enum Whitelist {
4444
// [ERROR ] CWWKL0002E: The system could not read class [io.jaegertracing.internal.reporters.RemoteReporter$Command] as resource [io/jaegertracing/internal/reporters/RemoteReporter$Command.class].
4545
Pattern.compile(".*CWWKL0002E:.*"),
4646
Pattern.compile(".*Could not load service class com.ibm.ws.io.smallrye.graphql.component.GraphQLExtension.*"),
47-
Pattern.compile(".*CWWKO1650E.*")
47+
4848
}),
4949
HELIDON("helidon", new Pattern[]{}),
5050
KUMULUZEE("kumuluzee", new Pattern[]{

src/main/resources/files/Booking.java.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package [# th:text="${java_package}"/].openapi;
22

33
import org.eclipse.microprofile.openapi.annotations.media.Schema;
44

5-
5+
@Schema(name="Booking")
66
public class Booking {
77
@Schema(required = true, description = "Booking id")
88
private String id;

src/main/resources/files/BookingController.java.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public class BookingController {
2727
content = @Content(
2828
mediaType = MediaType.APPLICATION_JSON,
2929
schema = @Schema(
30-
ref = "Booking",
31-
implementation = Booking.class))
30+
ref = "Booking"))
3231
),
3332
@APIResponse(
3433
responseCode = "404",

0 commit comments

Comments
 (0)