fix(docs): api docs for bulk env update response (#7714)

This commit is contained in:
Yassir 2026-01-06 12:52:32 +01:00 committed by GitHub
parent 8e002e0558
commit aeef97f295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 14 deletions

View file

@ -2696,10 +2696,8 @@ public function update_env_by_uuid(Request $request)
new OA\MediaType(
mediaType: 'application/json',
schema: new OA\Schema(
type: 'object',
properties: [
'message' => ['type' => 'string', 'example' => 'Environment variables updated.'],
]
type: 'array',
items: new OA\Items(ref: '#/components/schemas/EnvironmentVariable')
)
),
]

View file

@ -3009,13 +3009,10 @@
"content": {
"application\/json": {
"schema": {
"properties": {
"message": {
"type": "string",
"example": "Environment variables updated."
}
},
"type": "object"
"type": "array",
"items": {
"$ref": "#\/components\/schemas\/EnvironmentVariable"
}
}
}
}

View file

@ -1915,9 +1915,9 @@ paths:
content:
application/json:
schema:
properties:
message: { type: string, example: 'Environment variables updated.' }
type: object
type: array
items:
$ref: '#/components/schemas/EnvironmentVariable'
'401':
$ref: '#/components/responses/401'
'400':