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

Parser emits that false is not allowed boolean type for default #759

Open
kylef opened this issue Nov 18, 2019 · 1 comment
Open

Parser emits that false is not allowed boolean type for default #759

kylef opened this issue Nov 18, 2019 · 1 comment
Labels

Comments

@kylef
Copy link
Member

kylef commented Nov 18, 2019

The following API Blueprint emits the warning:

invalid value for 'boolean' type. allowed values are 'true' or 'false'

For the default value, where the default is false, same warning if it is wrapped in backticks or not. I expect it is not counting for the new line (\n) in the section. The same example using number type does work correctly.

FORMAT: 1A

# API Elements Data Structures

## Data Structures

### IsAdmin (boolean)

Whether the user is an admin

#### Default

`false`
@kylef kylef added the bug label Nov 18, 2019
@kylef
Copy link
Member Author

kylef commented Feb 26, 2020

Possibly related to #607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant