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/

贡献者指南