specific changes for the servert
This commit is contained in:
parent
5fc9678f14
commit
e7c49e7e25
|
@ -40,14 +40,14 @@ with open("hub_api/docs/openapi-specs.yml", "r") as stream:
|
|||
"headers": [],
|
||||
"specs": [
|
||||
{
|
||||
"endpoint": 'apispec',
|
||||
"route": '/v1.4/apispec.json',
|
||||
"endpoint": '/api/apispec/',
|
||||
"route": '/api/apispec/apispec.json',
|
||||
"rule_filter": lambda rule: True, # all in
|
||||
"model_filter": lambda tag: True, # all in
|
||||
}
|
||||
],
|
||||
"static_url_path": "/api/v1.4/static",
|
||||
"specs_route": "/v1.4/api-docs/",
|
||||
"static_url_path": "/api/static/",
|
||||
"specs_route": "/api/api-docs/",
|
||||
"openapi": "3.0.0"
|
||||
}
|
||||
try:
|
||||
|
|
|
@ -9,7 +9,7 @@ externalDocs:
|
|||
description: Find out more about Swagger
|
||||
url: http://swagger.io
|
||||
paths:
|
||||
/v1.4/uptime:
|
||||
/api/v1.4/uptime:
|
||||
get:
|
||||
parameters:
|
||||
[]
|
||||
|
@ -25,7 +25,7 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/uptime'
|
||||
/v1.4/session/start:
|
||||
/api/v1.4/session/start:
|
||||
put:
|
||||
parameters:
|
||||
- in: header
|
||||
|
@ -75,7 +75,7 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/unauthorized'
|
||||
/v1.4/session/keep_alive:
|
||||
/api/v1.4/session/keep_alive:
|
||||
put:
|
||||
security:
|
||||
- session_id: []
|
||||
|
@ -107,7 +107,7 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/unauthorized'
|
||||
/v1.4/session/end:
|
||||
/api/v1.4/session/end:
|
||||
put:
|
||||
security:
|
||||
- session_id: []
|
||||
|
@ -139,7 +139,7 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/unauthorized'
|
||||
/v1.4/buildings/meb:
|
||||
/api/v1.4/buildings/meb:
|
||||
post:
|
||||
security:
|
||||
- session_id: [ ]
|
||||
|
@ -331,4 +331,4 @@ components:
|
|||
}
|
||||
]
|
||||
}
|
||||
}'
|
||||
}'
|
||||
|
|
Loading…
Reference in New Issue
Block a user