Skip to content

Bugfix specification wireless #200

@julian-st

Description

@julian-st

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:

  1. Rename the Keys in the OpenAPI Spec
blockList:
  type: object
  properties:
    ch_2403:
      type: boolean
    ch_2404:
      type: boolean
    ....
    ....
  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions