Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by Tuntii Jan 10, 2026

Hi! 👋

Thanks a lot for testing RustAPIreally glad to hear you like it so far.

You’re absolutely right, and thanks for reporting this. What you’re seeing is a known limitation in the current OpenAPI / schema generation.

🔍 What’s happening?

Types like:

  • chrono::DateTime<Utc>
  • uuid::Uuid

are external types, and at the moment RustAPI does not automatically register them under components/schemas when generating the OpenAPI document.

Because of that, the spec ends up referencing:

/components/schemas/DateTime
/components/schemas/Uuid

but those schemas are never defined, which leads to the resolver errors you’re seeing in the docs page.


✅ Current Workarounds

Option 1: Map to OpenAPI primitives …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Tuntii
Comment options

@PeterGumball
Comment options

Answer verified by Admin Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
good first issue Good for newcomers
2 participants