fix openapi spec to pass swagger editor validation (#4445)

There shouldnt be a dash before `type: object`. Also added description.
This commit is contained in:
Dmitry Rodionov
2023-06-08 13:25:30 +03:00
committed by GitHub
parent 2e687bca5b
commit 8560a98d68

View File

@@ -386,6 +386,7 @@ paths:
"202":
description: Tenant attaching scheduled
"400":
description: Bad Request
content:
application/json:
schema:
@@ -945,7 +946,7 @@ components:
type: string
enum: [ "maybe", "attached", "failed" ]
data:
- type: object
type: object
properties:
reason:
type: string