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
16.78k stars 6.02k forks source link

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

Open abrassel opened 1 week ago

abrassel commented 1 week 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 1 week ago

Same issue here