fix(docs): api docs for bulk env update response (#7714)
This commit is contained in:
parent
8e002e0558
commit
aeef97f295
3 changed files with 9 additions and 14 deletions
|
|
@ -2696,10 +2696,8 @@ public function update_env_by_uuid(Request $request)
|
||||||
new OA\MediaType(
|
new OA\MediaType(
|
||||||
mediaType: 'application/json',
|
mediaType: 'application/json',
|
||||||
schema: new OA\Schema(
|
schema: new OA\Schema(
|
||||||
type: 'object',
|
type: 'array',
|
||||||
properties: [
|
items: new OA\Items(ref: '#/components/schemas/EnvironmentVariable')
|
||||||
'message' => ['type' => 'string', 'example' => 'Environment variables updated.'],
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
11
openapi.json
11
openapi.json
|
|
@ -3009,13 +3009,10 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application\/json": {
|
"application\/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"properties": {
|
"type": "array",
|
||||||
"message": {
|
"items": {
|
||||||
"type": "string",
|
"$ref": "#\/components\/schemas\/EnvironmentVariable"
|
||||||
"example": "Environment variables updated."
|
}
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "object"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1915,9 +1915,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
type: array
|
||||||
message: { type: string, example: 'Environment variables updated.' }
|
items:
|
||||||
type: object
|
$ref: '#/components/schemas/EnvironmentVariable'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/401'
|
$ref: '#/components/responses/401'
|
||||||
'400':
|
'400':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue