Read me for modelPropertyMacro, changed for parameterMacro

This commit is contained in:
Anna Bodnia
2017-05-25 18:04:21 +03:00
parent 918e0e46c0
commit 62cb9ec581
3 changed files with 3 additions and 5 deletions

View File

@@ -77,9 +77,6 @@ window.onload = function() {
const ui = SwaggerUIBundle({
url: "http://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
parameterMacro: function (operation, parameter) {
return parameter
},
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset