swagger-api/swagger-codegen

[RUST] Generated code does not compile

オープン

#7,964 opened on 2018/04/04

 (10 件のコメント) (1 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド