fix(swagger-ui-react): display definition defined as YAML or JSON string (#9918)
Refs #9915
This commit is contained in:
@@ -99,7 +99,7 @@ const SwaggerUI = ({
|
|||||||
system.specActions.updateSpec(updatedSpec)
|
system.specActions.updateSpec(updatedSpec)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [url, spec])
|
}, [system, url, spec])
|
||||||
|
|
||||||
return SwaggerUIComponent ? <SwaggerUIComponent /> : null
|
return SwaggerUIComponent ? <SwaggerUIComponent /> : null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user