swagger-api/swagger-codegen

[QT5][CPP] does not handle `additionalProperties`

Open

#5876 aperta il 19 giu 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: C++Issue: Bughelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

The qt5cpp generation does not handle additionalProperties, see: generation result

Swagger-codegen version

2.2.3-SNAPSHOT (master) on 06/18/2017

Swagger declaration file content or url
  Error:
    type: object
    required:
      - _type
      - key
      - message
    additionalProperties:
      type: object
    properties:
      _type:
        type: string
        default: Error
        readOnly: true
      key:
        type: string
      message:
        type: string
Command line used for generation
docker run -it -v %curpath%:/swagger-api/ swaggerapi/swagger-codegen-cli:latest generate  -i /swagger-api/swagger.yaml  -l qt5cpp -o /swagger-api/

Guida contributor