Parcourir la source

Undo changed defaults

bubble
Kyle Shockey il y a 7 ans
Parent
révision
4bfb392e49
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: DC20D559FFBC0D36
2 fichiers modifiés avec 3 ajouts et 9 suppressions
  1. +2
    -5
      README.md
  2. +1
    -4
      dev-helpers/index.html

+ 2
- 5
README.md Voir le fichier

@@ -91,10 +91,7 @@ To use swagger-ui's bundles, you should take a look at the [source of swagger-ui
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
docExpansion: "none",
apisSorter: "alpha",
operationsSorter: "method"
layout: "StandaloneLayout"
})
```

@@ -147,7 +144,7 @@ parameterMacro | MUST be a function. Function to set default value to parameters
modelPropertyMacro | MUST be a function. Function to set default values to each property in model. Accepts one argument modelPropertyMacro(property), property is immutable
docExpansion | Controls the default expansion setting for the operations and tags. It can be 'list' (expands only the tags), 'full' (expands the tags and operations) or 'none' (expands nothing). The default is 'list'.
displayOperationId | Controls the display of operationId in operations list. The default is `false`.
displayRequestDuration | Controls the display of the request duration (in milliseconds) for `Try it out` requests. The default is `false`.
displayRequestDuration | Controls the display of the request duration (in milliseconds) for `Try it out` requests. The default is `false`.

### Plugins



+ 1
- 4
dev-helpers/index.html Voir le fichier

@@ -84,10 +84,7 @@
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
docExpansion: "none",
apisSorter: "alpha",
operationsSorter: "method"
layout: "StandaloneLayout"
});

ui.initOAuth({


Chargement…
Annuler
Enregistrer