Skip to content

The cli is not working #194

@Ahmat-2000

Description

@Ahmat-2000

I'm using "next-rest-framework": "^6.0.7" and "next": "15.3.0"

D:\Projets\prime>npx next-rest-framework generate
Generating OpenAPI spec...
Next REST Framework config not found. Initialize a docs handler to generate the OpenAPI spec.

I also tried a custom script but is not working neither

D:\Projets\prime>npm run generate
[email protected] generate
tsx ./src/scripts/custom-generate-openapi.ts
A configPath parameter with a value of /api/v2 was provided but no Next REST Framework configs were found.
Completed building OpenAPI schema from custom script.

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