remove passing spec params to SwaggerUIBundle
server test json files via webpack-dev-server
This commit is contained in:
@@ -75,7 +75,6 @@
|
||||
// Build a system
|
||||
const ui = SwaggerUIBundle({
|
||||
url: "http://petstore.swagger.io/v2/swagger.json",
|
||||
spec: spec && JSON.parse(decodeURI(spec)),
|
||||
dom_id: '#swagger-ui',
|
||||
presets: [
|
||||
SwaggerUIBundle.presets.apis,
|
||||
|
||||
Reference in New Issue
Block a user