mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
minor update in hmr playground
This commit is contained in:
parent
f58ef3f0c9
commit
5b3964e55b
|
@ -24,7 +24,7 @@ const swagger = window.location.search.indexOf('swagger') > -1; //compatibility
|
||||||
const specUrl = swagger ? 'swagger.yaml' : big ? 'big-openapi.json' : 'openapi.yaml';
|
const specUrl = swagger ? 'swagger.yaml' : big ? 'big-openapi.json' : 'openapi.yaml';
|
||||||
|
|
||||||
let store;
|
let store;
|
||||||
const options: RedocRawOptions = { expandResponses: 'all' };
|
const options: RedocRawOptions = {};
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
const spec = await loadAndBundleSpec(specUrl);
|
const spec = await loadAndBundleSpec(specUrl);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user