Skip to content

Commit

Permalink
fixup! Generate OpenAPI.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Oct 6, 2023
1 parent 59d25a7 commit cc8f2d3
Showing 1 changed file with 22 additions and 37 deletions.
59 changes: 22 additions & 37 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -10668,7 +10668,7 @@
{
"name": "invite",
"in": "query",
"description": "User or circle to invite",
"description": "User, group, … ID to invite",
"schema": {
"type": "string",
"default": ""
Expand All @@ -10686,7 +10686,7 @@
{
"name": "source",
"in": "query",
"description": "Source of the room ('circles' to create a circle room)",
"description": "Source of the invite ID ('circles' to create a room with a circle, etc.)",
"schema": {
"type": "string",
"default": ""
Expand Down Expand Up @@ -10816,13 +10816,9 @@
},
"data": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "string",
"nullable": true
"type": "string"
}
}
}
Expand Down Expand Up @@ -12260,13 +12256,9 @@
},
"data": {
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string",
"nullable": true
"type": "string"
}
}
}
Expand Down Expand Up @@ -12543,7 +12535,6 @@
"post": {
"operationId": "room-add-participant-to-room",
"summary": "Add a participant to a room",
"description": "return DataResponse<Http::STATUS_OK|Http::STATUS_BAD_REQUEST|Http::STATUS_NOT_FOUND|Http::STATUS_NOT_IMPLEMENTED, ?array{type?: int, error?: string}, array{}>",
"tags": [
"room"
],
Expand Down Expand Up @@ -12628,17 +12619,21 @@
"$ref": "#/components/schemas/OCSMeta"
},
"data": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "integer",
"format": "int64",
"nullable": true
}
}
"oneOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "integer",
"format": "int64"
}
}
},
{}
]
}
}
}
Expand Down Expand Up @@ -12725,13 +12720,9 @@
},
"data": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "string",
"nullable": true
"type": "string"
}
}
}
Expand Down Expand Up @@ -14062,9 +14053,7 @@
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {
"nullable": true
}
"data": {}
}
}
}
Expand Down Expand Up @@ -15261,13 +15250,9 @@
},
"data": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "string",
"nullable": true
"type": "string"
}
}
}
Expand Down

0 comments on commit cc8f2d3

Please sign in to comment.