yes issue opened in swagger-codegen

On Thursday, July 7, 2016 at 11:13:11 PM UTC+5:30, tony tam wrote:
>
> Hi Pradeep, could you please open an issue in the swagger-codegen project 
> for this?
>
> On Jul 7, 2016, at 12:04 AM, Pradeep Kumar Reddy <[email protected] 
> <javascript:>> wrote:
>
>
> Directory structure of swagger generated code is inappropriate, when the 
> package name is supplied through config.json using -c option.
>
> I have attached my swagger.yml file.
>
> contents of config.json
> -----------------------------
> {
> "invokerPackage" : "in.lxltech",
>   "apiPackage" : "in.lxltech.krayon",
> "modelPackage" : "in.lxltech.model"
> } 
>
> The command i'm using to generated code:-
> -------------------------------------------------------
>  java  -jar  swagger-codegen-cli.jar  generate  -i  swagger.yml   -l 
>  android  --library=volley  -o  generated_source_code  -c  config.json
>
>
> swagger generated code directory structure
> --------------------------------------------------------
>
>  in
>   -lxltech
>      -krayon
>      -model
>
>  io
>   -swagger
>        -client
>             -auth         =>   files inside this directory have package 
> name as 'in.lxltech.auth'  but the directory structure is incorrect
>             -request    =>   files inside this directory have package name 
> as 'in.lxltech.request' but the directory structure is incorrect
>
> =>  auth and request folders have to be placed under the directory 
> 'in/lxltech', but it is placing under 'io/swagger/client' 
>
>
>
> -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
> <swagger.yml>
>
>
>

-- 
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