Skip to content

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

Open

Description

@konhi
  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

Activity

  1. erunion commented on Jan 26, 2024

    @erunion
    Member

    Can you share the OpenAPI definition you generated that from?

  2. added
    bug
    area:api
    on Jan 26, 2024
  3. konhi commented on Jan 27, 2024

    @konhi
    Author

    Sure! openapi.json

    When I look at validator, it seems it happens when definition was declared but not used

  4. added
    help wanted
    good first issue
    on Jan 27, 2024
  5. pehrlich-arbor commented on Nov 1, 2024

    @pehrlich-arbor

    Hm - also getting this when generating the Bayou API (json spec https://gist.github.com/pehrlich-arbor/04f962e9393b1810530854a6cc3e76d5)

    (Edit: api version 6.1.2, repro with npx api install "@bayou/v2.0#9g42pc1um229fua0")

    Screenshot 2024-11-01 at 5 01 04 PM

  6. removed
    good first issue
    on Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions