-
Notifications
You must be signed in to change notification settings - Fork 22
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
Invalid Syntax in securityLevels
#137
Comments
Seems fine to me. PR, please |
+1 |
I am confused... I would add the type: array
items:
enum:
- PUBLIC
- REGISTERED
- CONTROLLED
default:
- [CONTROLLED]
uniqueItems: true CORRECTED! |
|
I've reviewed the syntax again and it seem that these two options are valid and similar: default:
- CONTROLLED default: [CONTROLLED] And after running the beacon yamler, both of them outputted the expected json default array with one value. When using this syntax |
The file
beaconConfigurationSchema.yaml
contains invalid OpenAPI syntax in it's default value.Existing Syntax:
Corrected Syntax:
The default value should be defined at the same level as the other properties under
securityLevels
:Reference:
OpenAPI Specification - Describing Parameters - Default Parameter Values
Note:
After fixing the
.yaml
files, the.json
should be fixed as well by running the schema conversion script located in the bin folder.The text was updated successfully, but these errors were encountered: