Qovery / scaleway-api-rs

Rust lib for Scaleway API
GNU General Public License v3.0
9 stars 1 forks source link

chore: Bump urls #24

Open mzottola opened 1 year ago

mzottola commented 1 year ago

Need to check what's wrong, because I get an error at generation:

Exception in thread "main" java.lang.RuntimeException: Could not process model 'scaleway.account.v2.ListProjectsRequest.OrderBy'.Please make sure that your schema is correct!
    at org.openapitools.codegen.DefaultGenerator.generateModels(DefaultGenerator.java:539)
    at org.openapitools.codegen.DefaultGenerator.generate(DefaultGenerator.java:960)
    at org.openapitools.codegen.cmd.Generate.execute(Generate.java:511)
    at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
    at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
Caused by: java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class java.util.List (java.util.LinkedHashMap and java.util.List are in module java.base of loader 'bootstrap')
    at org.openapitools.codegen.DefaultCodegen.updateEnumVarsWithExtensions(DefaultCodegen.java:6660)
    at org.openapitools.codegen.DefaultCodegen.updateEnumVarsWithExtensions(DefaultCodegen.java:6654)
    at org.openapitools.codegen.DefaultCodegen.postProcessModelsEnum(DefaultCodegen.java:806)
    at org.openapitools.codegen.languages.RustClientCodegen.postProcessModels(RustClientCodegen.java:207)
    at org.openapitools.codegen.DefaultGenerator.processModels(DefaultGenerator.java:1374)
    at org.openapitools.codegen.DefaultGenerator.generateModels(DefaultGenerator.java:534)
    ... 4 more