oxidecomputer / oxidecomputer/progenitor
api.github.com
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 136
- Avg merge
- 8h 36m
- Merged PRs (30d)
- 14
Description
When I fetch the latest from https://github.com/github/rest-api-description (it has the same version but it is not the same api), I encounter the following five parse errors. yes, there are only five.
- fails in typify
schemas_mutually_exclusivedue to this field.
"conditions": {
"anyOf": [
{
"$ref": "#/components/schemas/repository-ruleset-conditions"
},
{
"$ref": "#/components/schemas/org-ruleset-conditions"
}
]
},
/markdown/rawhandles two media types ,text/plainandtext/x-markdown.- Fails due to this:
"422": {
"description": "Validation failed",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/validation-error"
},
{
"$ref": "#/components/schemas/validation-error-simple"
}
]
}
}
}
},
- Fails due to this
"make_latest": {
"type": "string",
"description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.",
"enum": [
"true",
"false",
"legacy"
],
"default": true
},
response_types.len() <= 1', progenitor-impl/src/method.rs:1171:9https://github.com/oxidecomputer/progenitor/issues/344
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
Reproduce generation against the latest github/rest-api-description and inspect the five parse failures listed in the issue. Start with progenitor-impl/src/method.rs at the reported response_types assertion, then trace the other schema and media-type failures; done means the specification parses and generation completes without those errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, rust
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100