swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.06k stars 6.03k forks source link

[RUST] Exception in thread "main" java.lang.RuntimeException: Can't load config class with name rust #12416

Open abrassel opened 4 months ago

abrassel commented 4 months ago
Description
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.57/swagger-codegen-cli-3.0.57.jar -O swagger-codegen-cli.jar

java -jar swagger-codegen-cli.jar generate -i https://github.com/unitycatalog/unitycatalog/blob/main/api/all.yaml -l rust

Exception in thread "main" java.lang.RuntimeException: Can't load config class with name rust
Swagger-codegen version

Version 3.0.57

Swagger declaration file content or url
Command line used for generation
java -jar swagger-codegen-cli.jar generate -i https://github.com/unitycatalog/unitycatalog/blob/main/api/all.yaml -l rust
Steps to reproduce
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.57/swagger-codegen-cli-3.0.57.jar -O swagger-codegen-cli.jar

java -jar swagger-codegen-cli.jar generate -i https://github.com/unitycatalog/unitycatalog/blob/main/api/all.yaml -l rust
Related issues/PRs
Suggest a fix/enhancement
cowlicks commented 4 months ago

Same issue here