-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The blocklist object in PostMastersMasterNumberConfiguration and GetMastersMasterNumberConfiguration has entries with numbers that are encased with " or ' in the merged yaml file. This leads to errors with the openapi-generator and subsequent make process for cpp-oatpp-server.
I see two options to resolve this:
- Rename the Keys in the OpenAPI Spec
blockList:
type: object
properties:
ch_2403:
type: boolean
ch_2404:
type: boolean
....
....
- Use additionalProperties Instead
blockList:
type: object
additionalProperties:
type: boolean
Furthermore one could merge the two objects blockList and blackList (given in the example) or give an explanation/description why both are used.
Metadata
Metadata
Assignees
Labels
No labels