ory / sdk

The place where ORY's SDKs are being auto-generated
Apache License 2.0
141 stars 85 forks source link

Rust generation broken #213

Closed jonas-jonas closed 1 year ago

jonas-jonas commented 2 years ago

Preflight checklist

Describe the bug

The CI is currently failing because the Rust SDK is not compiling:

Reproducing the bug

Run the CI or scripts/generate.sh followed by scripts/test.sh

Relevant log output

error[E0412]: cannot find type `CourierMessageStatus` in this scope
   --> src/apis/v0alpha2_api.rs:787:145
    |
787 | ...tion<i64>, page: Option<i64>, status: Option<CourierMessageStatus>, recipient: Option<&str>) -> Result<Vec<crate::models::Message>, Er...
    |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this enum
    |
12  | use crate::models::CourierMessageStatus;

(https://app.circleci.com/pipelines/github/ory/sdk/1201/workflows/01e1d2bd-ddce-469c-9625-be9fbd0ac24c/jobs/1111)

Relevant configuration

No response

Version

-

On which operating system are you observing this issue?

Other

In which environment are you deploying?

Other

Additional Context

No response