Skip to content

Use custom validator for OpenAPI request body#30596

Merged
ephraimbuddy merged 2 commits intoapache:mainfrom
astronomer:custom-empty-body-error
Apr 12, 2023
Merged

Use custom validator for OpenAPI request body#30596
ephraimbuddy merged 2 commits intoapache:mainfrom
astronomer:custom-empty-body-error

Conversation

@uranusjr
Copy link
Copy Markdown
Member

The default error message for an empty request body from Connexion is quite unhelpful (taken directly from JSONSchema). This custom validator emits a more helpful message for this particular context.

Close #30346.
Fix #26424.

uranusjr and others added 2 commits April 12, 2023 18:25
The default error message for an empty request body from Connexion
is quite unhelpful (taken directly from JSONSchema). This custom
validator emits a more helpful message for this particular context.
@uranusjr
Copy link
Copy Markdown
Member Author

cc @maahir22

@maahir22
Copy link
Copy Markdown
Contributor

LGTM Merge

@ephraimbuddy ephraimbuddy merged commit e89a7ee into apache:main Apr 12, 2023
@ephraimbuddy ephraimbuddy deleted the custom-empty-body-error branch April 12, 2023 12:40
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Apr 14, 2023
@potiuk potiuk mentioned this pull request Oct 28, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POST /taskInstances/list with wildcards returns unhelpful error

3 participants