openapi/swagger and openapi-codegen #3260
Unanswered
thomasarnbjerg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Has anyone succeeded in generating client libraries from openapi.json in the swagger folder?
When I run
java -jar \development\openapi_code_gen\openapi-generator-cli-5.1.1.jar generate -i openapi.json -g java -o ../out/java1
I get a bunch of errors like:
[main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: ../schemas.json#/attributes [main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: ./schemas.json#/device [main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: ../parameters.json#/devicePathParam [main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: ../parameters.json#/register ...Beta Was this translation helpful? Give feedback.
All reactions