You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the postProcessModels() operation sorts the model types depending on their dependencies.
The comparison function is not recursive so it ends up in wrong comparison when we have A -> B -> C the comparison between A, C are not well handled.
Description
Generated code cannot be compiled, since:
" arrowhead-registry-models.ads:50:52: "Metadata_Type" not declared in "Models" "
Swagger-codegen version
2.3.1, downloaded from git on January 20, 2018
Swagger declaration file content or url
openapiAHregistrerShorter.yml:
Command line used for generation
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i ../openapiAHregistrerShorter.yml -l ada -o ../ada-code/ --api-package Arrowhead.Registry --model-package Arrowhead.Registry
Steps to reproduce
Related issues/PRs
N/A
Suggest a fix/enhancement
Revise ordering function "postProcessModels" in AbstractAdaCodegen.java
The text was updated successfully, but these errors were encountered: