Commit 8bff0475 authored by janis.streib's avatar janis.streib 🦉
Browse files

UPD: swagger: use OAS3

parent 8a8e0630
Pipeline #147812 passed with stages
in 10 minutes and 2 seconds
...@@ -23,7 +23,7 @@ frontend-build: ...@@ -23,7 +23,7 @@ frontend-build:
stage: build stage: build
script: script:
- cd frontend/ - cd frontend/
- net-api-generator openapi > public/api.json - net-api-generator openapi > public/api.yml
- net-api-generator es-webpack - net-api-generator es-webpack
- npm run build - npm run build
artifacts: artifacts:
......
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
SwaggerUI({ SwaggerUI({
tagsSorter: 'alpha', tagsSorter: 'alpha',
apisSorter: 'alpha', apisSorter: 'alpha',
url: '/api.json', url: '/api.yml',
docExpansion: 'none', docExpansion: 'none',
dom_id: '#swagger-ui', dom_id: '#swagger-ui',
deepLinking: false, deepLinking: false,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment