Skip to content
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

API Blueprint view object respects required: false for parameters now #1

Merged
merged 3 commits into from
Aug 9, 2018

Conversation

BrandonMathis
Copy link

@BrandonMathis BrandonMathis commented Aug 6, 2018

What Changed

API Blueprint docs now flag required: false parameters as optional.

Why

Default behavior of API Blueprint is to treat all parameters as required unless specified as optional. This change brings the API Blueprint view object more in line with that concept by checking for required: false as opposed to setting requiredif required: true.

📝 Upstream PR can be found here

@BrandonMathis BrandonMathis merged commit e4f78ab into master Aug 9, 2018
@BrandonMathis BrandonMathis deleted the bugfix/apidoc-optional-parameters branch August 23, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant