oxidecomputer / oxidecomputer/progenitor
Fails to parse Figma api
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 136
- Avg merge
- 8h 36m
- Merged PRs (30d)
- 14
Description
https://github.com/figma/rest-api-spec/blob/main/openapi/openapi.yaml
error:
components.schemas: data did not match any variant of untagged enum ReferenceOr at line 2586 column 5
I think this is due to the fact that enum variants are integers and it expects strings. I've tried parsing it with oas3 crate and it works but only on latest master
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with Figma's openapi/openapi.yaml and inspect the parser around line 2586, where ReferenceOr fails. Compare the behavior with the oas3 crate on its latest master; done means the Figma specification parses without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, rust
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100