Skip to content

OpenAPI: only include non-empty required property. #6851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

chrisv2
Copy link
Contributor

@chrisv2 chrisv2 commented Jul 31, 2019

Closes #6834.

@carltongibson carltongibson force-pushed the fix_empty_required_list branch from bfa2c26 to 84266c0 Compare August 7, 2019 19:29
Copy link
Collaborator

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chrisv2. Thanks for this. Super.

@carltongibson carltongibson changed the title don't add empty required property (refs #6834) OpenAPI: only include non-empty required property. Aug 7, 2019
@carltongibson carltongibson merged commit 0ebfbfd into encode:master Aug 7, 2019
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenAPI: Schema.required must not be an empty list
3 participants