oxidecomputer / oxidecomputer/progenitor

Error about untagged enum ReferenceOr in components.schemas

Open
#348 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1k
Forks
136
Avg merge
8h 36m
Merged PRs (30d)
14

Description

There is something wrong with my input, but this error doesnt help at all

Error: components.schemas: data did not match any variant of untagged enum ReferenceOr at line 108 column 9

Line 108 is components.schemas

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported failure around line 108 at components.schemas, using the input that triggers the untagged enum ReferenceOr error. Trace the diagnostic from that location and make the resulting message identify the invalid schema or expected variants instead of only reporting a generic mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, rust
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.