We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 591909d + 6360973 commit a7401b8Copy full SHA for a7401b8
tck/src/main/java/org/eclipse/microprofile/openapi/filter/AirlinesOASFilter.java
@@ -128,7 +128,7 @@ public APIResponse filterAPIResponse(APIResponse apiResponse) {
128
if (content != null) {
129
if (content.hasMediaType("application/json")) {
130
Schema schema = content.getMediaType("application/json").getSchema();
131
- if ("child - id of the new review".equals(schema.getDescription())) {
+ if (schema != null && "child - id of the new review".equals(schema.getDescription())) {
132
schema.setDescription("parent - id of the new review");
133
}
134
0 commit comments