oxidecomputer / oxidecomputer/progenitor
not yet implemented: media type encoding, no schema: MediaType
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 136
- Avg merge
- 8h 36m
- Merged PRs (30d)
- 14
Description
When trying to generate a client from the following json I get the error.
thread 'main' panicked at /home/kranzes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/progenitor-impl-0.6.0/src/method.rs:508:25:
not yet implemented: media type encoding, no schema: MediaType {
schema: None,
example: None,
examples: {},
encoding: {},
extensions: {},
}
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 with progenitor-impl-0.6.0/src/method.rs around line 508 and reproduce the panic using the OpenAPI JSON linked in the issue. Trace how a MediaType with no schema is handled, then verify that client generation completes without this panic for the provided input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, rust
- Domain
- api, backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100