When code is generated with swagger-codegen-cli, references to schema are 
broken.
In the schema we want you to see hoge, but it has turned into a body.
When creating a template with mustache, if reference is broken, it is 
troublesome to generate code.

Using this specification file it was output like this. I executed such a 
command.

SpceFile

parameters:
- in: "body"
name: "body"
schema:
$ref <https://twitter.com/search?q=%24ref&src=ctag>: "#/definitions/hoge"


Command 

$ java -DdebugSupportingFiles=true -jar 
./modules/swagger-codegen-cli/target\swagger-codegen-cli.jar generate 
-options-


DdebugSupportingFiles 

"parameters" : [ {
"in" : "body",
"name" : "body",
"schema" : {
"$ref" : "#/definitions/body"
}
} ],


The schema reference appears to be broken.
Is my recognition wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to