OpenAPITools/openapi-generator

[BUG][C++] cpp-pistache - missing support for object without properties/additionalProperties

Open

#1,827 opened on Jan 6, 2019

View on GitHub
 (2 comments) (2 reactions) (0 assignees)Java (7,516 forks)batch import
HacktoberfestIssue: BugServer: C++help wanted

Repository metrics

Stars
 (26,243 stars)
PR merge metrics
 (Avg merge 9d 1h) (123 merged PRs in 30d)

Description

Description

When the model or inline type is type object only with no additionalProperties or properties the compilation failed due to reference to Object type.

fatal error: Object.h: No such file or directory
 #include "Object.h"
openapi-generator version

master

OpenAPI declaration file content or url
definitions:
  Result:
    type: object
Related issues/PRs

#1637

Contributor guide