Skip to content

Commit c4edd0b

Browse files
committed
feat: add Query update operation
1 parent 74b6875 commit c4edd0b

3 files changed

Lines changed: 159 additions & 0 deletions

File tree

public/docs/openapi-sans-schemas.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,59 @@
13101310
}
13111311
}
13121312
},
1313+
"put": {
1314+
"tags": [
1315+
"Query"
1316+
],
1317+
"summary": "Update project by project and ID",
1318+
"operationId": "putQueryByProjectAndId",
1319+
"parameters": [
1320+
{
1321+
"$ref": "#/components/parameters/projectId"
1322+
},
1323+
{
1324+
"$ref": "#/components/parameters/queryId"
1325+
}
1326+
],
1327+
"requestBody": {
1328+
"content": {
1329+
"application/json": {
1330+
"schema": {
1331+
"$ref": "#/components/schemas/QueryRequest"
1332+
},
1333+
"examples": {
1334+
"QueryRequest": {
1335+
"$ref": "#/components/examples/QueryRequest"
1336+
}
1337+
}
1338+
}
1339+
},
1340+
"required": true
1341+
},
1342+
"responses": {
1343+
"200": {
1344+
"description": "OK",
1345+
"content": {
1346+
"application/json": {
1347+
"schema": {
1348+
"$ref": "#/components/schemas/Query"
1349+
},
1350+
"examples": {
1351+
"Query": {
1352+
"$ref": "#/components/examples/Query"
1353+
}
1354+
}
1355+
}
1356+
}
1357+
},
1358+
"404": {
1359+
"$ref": "#/components/responses/404"
1360+
},
1361+
"default": {
1362+
"$ref": "#/components/responses/default"
1363+
}
1364+
}
1365+
},
13131366
"delete": {
13141367
"tags": [
13151368
"Query"

public/docs/openapi-x.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,59 @@
13131313
}
13141314
}
13151315
},
1316+
"put": {
1317+
"tags": [
1318+
"Query"
1319+
],
1320+
"summary": "Update project by project and ID",
1321+
"operationId": "putQueryByProjectAndId",
1322+
"parameters": [
1323+
{
1324+
"$ref": "#/components/parameters/projectId"
1325+
},
1326+
{
1327+
"$ref": "#/components/parameters/queryId"
1328+
}
1329+
],
1330+
"requestBody": {
1331+
"content": {
1332+
"application/json": {
1333+
"schema": {
1334+
"$ref": "#/components/schemas/QueryRequest"
1335+
},
1336+
"examples": {
1337+
"QueryRequest": {
1338+
"$ref": "#/components/examples/QueryRequest"
1339+
}
1340+
}
1341+
}
1342+
},
1343+
"required": true
1344+
},
1345+
"responses": {
1346+
"200": {
1347+
"description": "OK",
1348+
"content": {
1349+
"application/json": {
1350+
"schema": {
1351+
"$ref": "#/components/schemas/Query"
1352+
},
1353+
"examples": {
1354+
"Query": {
1355+
"$ref": "#/components/examples/Query"
1356+
}
1357+
}
1358+
}
1359+
}
1360+
},
1361+
"404": {
1362+
"$ref": "#/components/responses/404"
1363+
},
1364+
"default": {
1365+
"$ref": "#/components/responses/default"
1366+
}
1367+
}
1368+
},
13161369
"delete": {
13171370
"tags": [
13181371
"Query"

public/docs/openapi.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,59 @@
13101310
}
13111311
}
13121312
},
1313+
"put": {
1314+
"tags": [
1315+
"Query"
1316+
],
1317+
"summary": "Update project by project and ID",
1318+
"operationId": "putQueryByProjectAndId",
1319+
"parameters": [
1320+
{
1321+
"$ref": "#/components/parameters/projectId"
1322+
},
1323+
{
1324+
"$ref": "#/components/parameters/queryId"
1325+
}
1326+
],
1327+
"requestBody": {
1328+
"content": {
1329+
"application/json": {
1330+
"schema": {
1331+
"$ref": "#/components/schemas/QueryRequest"
1332+
},
1333+
"examples": {
1334+
"QueryRequest": {
1335+
"$ref": "#/components/examples/QueryRequest"
1336+
}
1337+
}
1338+
}
1339+
},
1340+
"required": true
1341+
},
1342+
"responses": {
1343+
"200": {
1344+
"description": "OK",
1345+
"content": {
1346+
"application/json": {
1347+
"schema": {
1348+
"$ref": "#/components/schemas/Query"
1349+
},
1350+
"examples": {
1351+
"Query": {
1352+
"$ref": "#/components/examples/Query"
1353+
}
1354+
}
1355+
}
1356+
}
1357+
},
1358+
"404": {
1359+
"$ref": "#/components/responses/404"
1360+
},
1361+
"default": {
1362+
"$ref": "#/components/responses/default"
1363+
}
1364+
}
1365+
},
13131366
"delete": {
13141367
"tags": [
13151368
"Query"

0 commit comments

Comments
 (0)