swagger-api/swagger-codegen

[RUST] Generated code does not compile

Open

Aperta il 4 apr 2018

Vedi su GitHub
 (10 commenti) (1 reazione) (0 assegnatari)HTML (12.701 star) (5474 fork)batch import
help wanted

Descrizione

Description

I generated rust code from the docker API specification, but the resulting code does not compile.

The code, including the API spec downloaded from the docker website, is here: https://github.com/matthiasbeyer/shiplift-swagger

Swagger-codegen version

2.3.1

Swagger declaration file content or url

https://github.com/matthiasbeyer/shiplift-swagger/blob/master/docker-swagger.yaml

Command line used for generation

In the repository:

swagger-codegen generate -i ./docker-swagger.yaml -l rust -o ./
Steps to reproduce

(All given above)

Related issues/PRs

None (as far as I can see).

Guida contributor