oxidecomputer / oxidecomputer/progenitor

Fails to generate for GitHub API

Open
#1,028 1 comment 1 reaction 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

https://github.com/github/rest-api-description/raw/refs/heads/main/descriptions/api.github.com/api.github.com.json

thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/progenitor-impl-0.9.0/src/method.rs:2023:23:
not yet implemented: more media types than expected for markdown/render-raw: 2

claims to be "openapi": "3.0.3"

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

Download the linked api.github.com OpenAPI description and reproduce the panic for markdown/render-raw. Start in progenitor-impl-0.9.0/src/method.rs around line 2023, where the generator rejects more than one media type. Done means this input no longer panics during client generation.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.