mirror of
https://github.com/appwrite/appwrite
synced 2026-04-21 13:37:16 +00:00
Fix OpenAPI enum keys analysis
This commit is contained in:
parent
da4dcd8505
commit
4ac1b68bbc
1 changed files with 1 additions and 1 deletions
|
|
@ -771,7 +771,7 @@ class OpenAPI3 extends Format
|
|||
/// If the enum flag is Set, add the enum values to the body
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['enum'] = $node['schema']['enum'];
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['x-enum-name'] = $node['schema']['x-enum-name'] ?? null;
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['x-enum-keys'] = $node['schema']['x-enum-keys'] ?? null;
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['x-enum-keys'] = $node['schema']['x-enum-keys'];
|
||||
}
|
||||
|
||||
if ($node['schema']['x-upload-id'] ?? false) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue