Skip to content

Commit 2c8173b

Browse files
Update SwaggerUI to v5.18.2 (#2)
* Update swagger-ui to v5.18.2 * Update yaml files to match new default in docs --------- Co-authored-by: jaredcat <3268576+jaredcat@users.noreply.github.com> Co-authored-by: jaredcat <3268576+jaredcat@users.noreply.github.com>
1 parent 7f121d7 commit 2c8173b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+16906
-11571
lines changed

.env.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
API_BASE_URL=10.0.0.182
2+
API_USERNAME=admin
3+
API_PASSWORD=Rm!cabR2ghQNMNqH-Jtq

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
npm run bundle
2-
git add swagger.yaml postman-collection.json
2+
git add openapi.yaml postman-collection.json

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"search.exclude": {
33
"**/dist": true,
44
"**/node_modules": true,
5-
"swagger.yaml": true,
5+
"openapi.yaml": true,
66
"postman-collection.json": true,
77
"package-lock.json": true,
88
"components/schemas/index.yaml": true,

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
**OpenAPI v3.1 made from [ApiUserGuide.pdf](./ApiUserGuide.pdf)**<br/>
44
Originally found here: [Reolink Introduction to CGI/API](https://support.reolink.com/hc/en-us/articles/900000625763-Introduction-to-CGI-API/)
55

6-
[openapi.yaml](./openapi.yaml) - Intro file<br/>
7-
[swagger.yaml](./swagger.yaml) - Autogenerated single bundled file using `redocly`<br/>
8-
[postman-collection.json](./postman-collection.json) - Autogenerated Postman collection created from `swagger.yaml`
6+
[openapi_split.yaml](./openapi_split.yaml) - Intro file<br/>
7+
[openapi.yaml](./openapi.yaml) - Autogenerated single bundled file using `redocly`<br/>
8+
[postman-collection.json](./postman-collection.json) - Autogenerated Postman collection created from `openapi.yaml`

dist/swagger-initializer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ window.onload = function() {
33

44
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
55
window.ui = SwaggerUIBundle({
6-
url: "swagger.yaml",
6+
url: "openapi.yaml",
77
dom_id: '#swagger-ui',
88
deepLinking: true,
99
presets: [

dist/swagger-ui-bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-es-bundle-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-es-bundle-core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-es-bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-standalone-preset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)