next-rest-framework icon indicating copy to clipboard operation
next-rest-framework copied to clipboard

The cli is not working

Open Ahmat-2000 opened this issue 6 months ago • 0 comments

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.

Ahmat-2000 avatar Jun 12 '25 13:06 Ahmat-2000