oxidecomputer / oxidecomputer/progenitor
progenitor fails processing the commercetools OpenAPI spec
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 136
- Avg merge
- 8h 36m
- Merged PRs (30d)
- 14
Description
I want to generate a commercetools OpenAPI client and tried to process the OpenAPI spec from commercetools:
https://github.com/commercetools/commercetools-api-reference/blob/main/oas/api/openapi.yaml
Unfortunalty then generation failed pretty quickly:
cargo progenitor -i openapi.yaml -o ct_prog -n ct_prog -v 0.0.1
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1] 11024 abort cargo progenitor -i openapi.yaml -o ct_prog -n ct_prog -v 0.0.1
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
Download the commercetools openapi.yaml from the linked repository and rerun the reported cargo progenitor command. Trace where processing the specification reaches the stack overflow, then verify that generation completes and produces the requested client without exhausting the stack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, rust
- Domain
- api, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100