docs: generate OAS for v2 (#7883)

This commit is contained in:
Shahed Nasser
2024-07-01 15:35:45 +03:00
committed by GitHub
parent 8fde57263f
commit b9036eca1a
1103 changed files with 125727 additions and 22463 deletions
@@ -1,14 +1,10 @@
description: Client Error or Multiple Errors
description: Client Error
content:
application/json:
schema:
oneOf:
- $ref: ../schemas/Error.yaml
- $ref: ../schemas/MultipleErrors.yaml
$ref: ../schemas/Error.yaml
examples:
not_allowed:
$ref: ../examples/not_allowed_error.yaml
invalid_data:
$ref: ../examples/invalid_data_error.yaml
MultipleErrors:
$ref: ../examples/multiple_errors.yaml