Correct the flasgger deffinition
This commit is contained in:
parent
dc60a0b7ca
commit
e17da5b265
|
@ -50,7 +50,7 @@ with open("hub_api/docs/openapi-specs.yml", "r") as stream:
|
||||||
"specs": [
|
"specs": [
|
||||||
{
|
{
|
||||||
"endpoint": 'apispec',
|
"endpoint": 'apispec',
|
||||||
"route": '/apispec.json',
|
"route": '/v1.4/apispec.json',
|
||||||
"rule_filter": lambda rule: True, # all in
|
"rule_filter": lambda rule: True, # all in
|
||||||
"model_filter": lambda tag: True, # all in
|
"model_filter": lambda tag: True, # all in
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,6 +59,11 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/succeed'
|
$ref: '#/components/schemas/succeed'
|
||||||
headers:
|
headers:
|
||||||
|
session_id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
description: Session id
|
||||||
|
example: '77e1c83b-7bb0-437b-bc50-a7a58e5660ac'
|
||||||
token:
|
token:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
|
Loading…
Reference in New Issue
Block a user