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.
1 parent ccd1c62 commit 50dd007Copy full SHA for 50dd007
src/schema-routes/schema-routes.js
@@ -729,12 +729,14 @@ class SchemaRoutes {
729
let successResponse = responseBodyInfo.success;
730
731
if (successResponse.schema && !successResponse.schema.$ref) {
732
+ const contentKind = successResponse.schema.contentKind;
733
const schema = this.getSchemaFromRequestType(successResponse.schema);
734
successResponse.schema = this.schemaParserFabric.createParsedComponent({
735
schema,
736
typeName,
737
schemaPath: [routeInfo.operationId],
738
});
739
+ successResponse.schema.contentKind = contentKind;
740
successResponse.type = this.schemaParserFabric.getInlineParseContent({
741
$ref: successResponse.schema.$ref,
742
0 commit comments