|
|
@@ -109,7 +109,7 @@ export default class Response extends React.Component { |
|
|
|
|
|
|
|
// Goal: find a schema value for `schema` |
|
|
|
if(isOAS3) { |
|
|
|
const oas3SchemaForContentType = activeMediaType.get("schema", Map({})) |
|
|
|
const oas3SchemaForContentType = activeMediaType.get("schema") |
|
|
|
|
|
|
|
schema = oas3SchemaForContentType ? inferSchema(oas3SchemaForContentType.toJS()) : null |
|
|
|
specPathWithPossibleSchema = oas3SchemaForContentType ? List(["content", this.state.responseContentType, "schema"]) : specPath |
|
|
|