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": [
|
||||
{
|
||||
"endpoint": 'apispec',
|
||||
"route": '/apispec.json',
|
||||
"route": '/v1.4/apispec.json',
|
||||
"rule_filter": lambda rule: True, # all in
|
||||
"model_filter": lambda tag: True, # all in
|
||||
}
|
||||
|
|
|
@ -59,6 +59,11 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/succeed'
|
||||
headers:
|
||||
session_id:
|
||||
type: string
|
||||
format: uuid
|
||||
description: Session id
|
||||
example: '77e1c83b-7bb0-437b-bc50-a7a58e5660ac'
|
||||
token:
|
||||
type: string
|
||||
format: uuid
|
||||
|
|
Loading…
Reference in New Issue
Block a user