swagger-api/swagger-codegen

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

Open

#5,876 建立於 2017年6月19日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)HTML (5,474 fork)batch import
Client: C++Issue: Bughelp wanted

倉庫指標

Star
 (12,701 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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/

貢獻者指南