readmeio / readmeio/api

v7.0.0-beta.4: types.ts being generated with errors

Open
#848 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:api bug help wanted
Dominant language
TypeScript
Stars
697
Forks
31
Avg merge
3d 21h
Merged PRs (30d)
10

Description

  1. create new repo
  2. npx api@next install @bitlabs/v1.0#10v61m2qlqnlux59 with defaults. this doesn't happen with latest stable version
  3. it outputs errors, and types.ts has errors too. https://gist.github.com/konhi/15343b1e31865263997b609761ebeda5
image

Contributor guide

Open the contributing guide

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

Reproduce the problem with a new repository using npx api@next install @bitlabs/v1.0#10v61m2qlqnlux59 and compare it with the latest stable version. Inspect the generated types.ts and the errors captured in the linked gist; done means the command completes without errors and produces valid TypeScript types.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.