Skip to content

Commit

Permalink
fix(openapi): Update openapi extractor to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jul 23, 2024
1 parent 22e1ff0 commit ce95660
Show file tree
Hide file tree
Showing 16 changed files with 5,974 additions and 3,881 deletions.
172 changes: 88 additions & 84 deletions openapi-administration.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,16 +431,26 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "host",
"in": "query",
"description": "Host to check",
"required": true,
"schema": {
"type": "string"
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"host"
],
"properties": {
"host": {
"type": "string",
"description": "Host to check"
}
}
}
}
},
}
},
"parameters": [
{
"name": "apiVersion",
"in": "path",
Expand Down Expand Up @@ -562,52 +572,46 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "url",
"in": "query",
"description": "Server URL",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "name",
"in": "query",
"description": "Display name of the user",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "email",
"in": "query",
"description": "Email of the user",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "language",
"in": "query",
"description": "Language of the user",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "country",
"in": "query",
"description": "Country of the user",
"required": true,
"schema": {
"type": "string"
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"url",
"name",
"email",
"language",
"country"
],
"properties": {
"url": {
"type": "string",
"description": "Server URL"
},
"name": {
"type": "string",
"description": "Display name of the user"
},
"email": {
"type": "string",
"description": "Email of the user"
},
"language": {
"type": "string",
"description": "Language of the user"
},
"country": {
"type": "string",
"description": "Country of the user"
}
}
}
}
},
}
},
"parameters": [
{
"name": "apiVersion",
"in": "path",
Expand Down Expand Up @@ -1275,37 +1279,37 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "sipGroups[]",
"in": "query",
"description": "New SIP groups",
"schema": {
"type": "array",
"default": [],
"items": {
"type": "string"
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sipGroups": {
"type": "array",
"default": [],
"description": "New SIP groups",
"items": {
"type": "string"
}
},
"dialInInfo": {
"type": "string",
"default": "",
"description": "New dial info"
},
"sharedSecret": {
"type": "string",
"default": "",
"description": "New shared secret"
}
}
}
}
},
{
"name": "dialInInfo",
"in": "query",
"description": "New dial info",
"schema": {
"type": "string",
"default": ""
}
},
{
"name": "sharedSecret",
"in": "query",
"description": "New shared secret",
"schema": {
"type": "string",
"default": ""
}
},
}
},
"parameters": [
{
"name": "apiVersion",
"in": "path",
Expand Down Expand Up @@ -1520,4 +1524,4 @@
}
},
"tags": []
}
}
28 changes: 18 additions & 10 deletions openapi-backend-recording.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,16 +521,24 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "owner",
"in": "query",
"description": "User that will own the recording file. `null` is actually not allowed and will always result in a \"400 Bad Request\". It's only allowed code-wise to handle requests where the post data exceeded the limits, so we can return a proper error instead of \"500 Internal Server Error\".",
"schema": {
"type": "string",
"nullable": true
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"nullable": true,
"description": "User that will own the recording file. `null` is actually not allowed and will always result in a \"400 Bad Request\". It's only allowed code-wise to handle requests where the post data exceeded the limits, so we can return a proper error instead of \"500 Internal Server Error\"."
}
}
}
}
},
}
},
"parameters": [
{
"name": "apiVersion",
"in": "path",
Expand Down Expand Up @@ -689,4 +697,4 @@
}
},
"tags": []
}
}
2 changes: 1 addition & 1 deletion openapi-backend-signaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,4 +423,4 @@
}
},
"tags": []
}
}
Loading

0 comments on commit ce95660

Please sign in to comment.