Sign inSign up

rprashad/swagger-codegen-cli

By rprashad

•Updated almost 8 years ago

Swagger Code Gen OAPI 3.0 Support w/ rust

Image
0

10K+

rprashad/swagger-codegen-cli repository overview

mvn clean package cd swagger-codegen-3.0.1/modules/swagger-codegen-cli docker built -t .

docker run -ti -v $HOME/git:/root/git swagger-codegen-cli generate -l rust -i /root/git/uber/uber.json -l rust -o /root/git/uber [main] INFO io.swagger.parser.Swagger20Parser - reading from /root/git/uber/uber.json [main] INFO io.swagger.codegen.ignore.CodegenIgnoreProcessor - No .swagger-codegen-ignore file found. [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/activities.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/Activities.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/activity.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/Activity.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/error.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/Error.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/price_estimate.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/PriceEstimate.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/product.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/Product.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/profile.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/Profile.md [main] WARN io.swagger.codegen.DefaultCodegen - Empty operationId found for path: get /products. Renamed to auto-generated operationId: productsGet [main] WARN io.swagger.codegen.DefaultCodegen - Empty operationId found for path: get /estimates/price. Renamed to auto-generated operationId: estimatesPriceGet [main] WARN io.swagger.codegen.DefaultCodegen - Empty operationId found for path: get /estimates/time. Renamed to auto-generated operationId: estimatesTimeGet [main] WARN io.swagger.codegen.DefaultCodegen - Empty operationId found for path: get /me. Renamed to auto-generated operationId: meGet [main] WARN io.swagger.codegen.DefaultCodegen - Empty operationId found for path: get /history. Renamed to auto-generated operationId: historyGet [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/estimates_api.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/EstimatesApi.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/products_api.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/ProductsApi.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/user_api.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/docs/UserApi.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/README.md [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/git_push.sh [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/.gitignore [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/configuration.rs [main] INFO io.swagger.codegen.DefaultGenerator - writing file /root/git/uber/.travis.yml [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/client.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/apis/mod.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/src/models/mod.rs [main] INFO io.swagger.codegen.DefaultGenerator - writing file /root/git/uber/src/lib.rs [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/Cargo.toml [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/.swagger-codegen-ignore [main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/git/uber/.swagger-codegen/VERSION

Tag summary

Content type

Image

Digest

Size

52.4 MB

Last updated

almost 8 years ago

docker pull rprashad/swagger-codegen-cli