-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][C][cpp-restsdk] Missing Set.h when trying to generate from Twitter OpenAPI JSON #9969
Comments
Someone suggested that maybe I was using the wrong Twitter spec, but I get the same errors from this one: api.twitter.com/2/openapi.json |
I suggest to put a [C] in the Issue title. |
Looks like the cpp-restsdk client generator doesn't support We welcome contributions or sponsorships for a fix. |
Just hit this issue myself.
Please revert to using std::vector |
- Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server - Handling `std::set` in cpp-restdsk - [[BUG][C][cpp-restsdk] Missing Set.h when trying to generate from Twitter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969)
This fix (in need of further testings) seems to allow generation: @dratchkov I did also a change in cpp-pistache-server to consider the |
…tter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969) - Handling `std::set` in cpp-restdsk [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
…tter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969) - Handling `std::set` in cpp-restdsk [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
…tter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969) - Handling `std::set` in cpp-restdsk [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
…tter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969) - Handling `std::set` in cpp-restdsk - Member variables using `std:set` added to `Pet` in cpp-restsdk 3.0 Petstore sample [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
…tter OpenAPI JSON #9969](#9969) (#18631) - Handling `std::set` in cpp-restdsk - Member variables using `std:set` added to `Pet` in cpp-restsdk 3.0 Petstore sample [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
…tter OpenAPI JSON OpenAPITools#9969](OpenAPITools#9969) (OpenAPITools#18631) - Handling `std::set` in cpp-restdsk - Member variables using `std:set` added to `Pet` in cpp-restsdk 3.0 Petstore sample [cpp-pistache-server] taking into account a remark on this issue about cpp-pistache-server and its set management - Switching `std::vector` to `std::set` for openapi set type in cpp-pistache-server
Bug Report Checklist
Description
When trying to build C or cpprestsdk APIs generated from Twitter's official OpenAPI JSON, I get missing
Set.h
andAnyType.h
header errors.openapi-generator version
Latest stable and master offered by official online generators as of time of this bug report.
OpenAPI declaration file content or url
https://api.twitter.com/labs/2/openapi.json as advertised by https://developer.twitter.com/en/docs/labs
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: