Anna Bodnia преди 7 години
родител
ревизия
8340f5d06c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      README.md

+ 1
- 1
README.md Целия файл

@@ -138,7 +138,7 @@ let preset = [
#### Configs plugin
Configs plugin allows to fetch external configs instead of passing them to `SwaggerUIBundle`. Fetched configs support two formats: JSON or yaml. The plugin is enabled by default.
There are three options of passing config:
- add a query parameter `config` with URL to a server where the configs are hosted. For ex. http://petstore.swagger.io/?configs=http://localhost:3001/config.yaml
- add a query parameter `config` with URL to a server where the configs are hosted. For ex. http://petstore.swagger.io/?config=http://localhost:3001/config.yaml
- add a config `configUrl` with URL to SwaggerUIBundle
- change default configs in `swagger-config.yaml` *Note: after changing, the project must be re-built*



Зареждане…
Отказ
Запис