-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[C++] Error making the cpprestsdk generated files #6726
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
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
I might be using the lib wrong... the sample for cpp-restsdk is broken :| |
In the end it's about oneOf and these things. Using the spec that I linked to it'll produce stuff like
Which are files that don't exist (or are not provided, at least.) I give up for now, but I'll follow that issue. Thanks! |
…meter generates a org::openapitools::server::model::std::optional<...> that doesn't compile OpenAPITools#18792 Solving this issue has for goal to reduce the amount of work required to resolve the [[C++] Error making the cpprestsdk generated files](OpenAPITools#6726) and to put the `cpp-pistache-server` generator a the "same compilation problems" level than the `cpp-restsdk` generator in font of the OpenAPITools#6726.
…meter generates a org::openapitools::server::model::std::optional<...> that doesn't compile #18792 (#18793) Solving this issue has for goal to reduce the amount of work required to resolve the [[C++] Error making the cpprestsdk generated files](#6726) and to put the `cpp-pistache-server` generator a the "same compilation problems" level than the `cpp-restsdk` generator in font of the #6726.
…meter generates a org::openapitools::server::model::std::optional<...> that doesn't compile OpenAPITools#18792 (OpenAPITools#18793) Solving this issue has for goal to reduce the amount of work required to resolve the [[C++] Error making the cpprestsdk generated files](OpenAPITools#6726) and to put the `cpp-pistache-server` generator a the "same compilation problems" level than the `cpp-restsdk` generator in font of the OpenAPITools#6726.
Description
After using the generator as described for cpp-restsdk and trying to make the project, I receive a bunch of errors. (I've been trying all day and only now realised that either I'm doing something really wrong, or the generated code is broken.)
I see the following errors:
openapi-generator version
4.3.1
(libcpprest-dev version 2.10.15-1, installed from ubuntu)
OpenAPI declaration file content or url
https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/doc/api/openapi.yaml
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: