Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Generated rust DigitalOcean API not compiling due to several errors #20500

Open
5 of 6 tasks
axos88 opened this issue Jan 18, 2025 · 0 comments
Open
5 of 6 tasks

Comments

@axos88
Copy link

axos88 commented Jan 18, 2025

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

Running

docker run --rm -v $PWD:/local openapitools/openapi-generator-cli:latest generate     -i https://api-engineering.nyc3.digitaloceanspaces.com/spec-ci/DigitalOcean-public.v2.yaml     -g rust     -o /local

generates a project with several issues:

  • missing enum variant suffixes in droplet_actions_post_request.rs
  • unknown_base_type: models::UNKNOWN_BASE_TYPE in uptime_api.rs
  • combining serde_with with serde_as
  • Box<Vec> missing generic type parameters
  • SshKeysGetSshKeyIdentifierParameter seems to be empty and missing a Display implementation
openapi-generator version

latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant