Skip to content

Error: Method block not found #178

Open
@vahidvdn

Description

@vahidvdn

Describe the bug
When I want to run yarn codegen , It throws this error:

Error: Method block not found

And with version "v2.0.0-beta.1", I get this error:

Error: Variable declaration not found

To Reproduce
just run : yarn codegen

OpenAPI spec file
https://github.com/7nohe/openapi-react-query-codegen/blob/main/examples/petstore.yaml

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots or logs to help explain your problem.

  • OS: [e.g. macOS]
  • Version ^1.6.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions