@omer-x/next-openapi-interface-generator
v0.2.0
Published
OpenAPI interface generator for Next.js
Downloads
19
Maintainers
Readme
Next OpenAPI Interface Generator
This script automates the generation of documentation and TypeScript interfaces for a service, making it easier to maintain and interact with the service in a TypeScript environment.
Installation
npm install @omer-x/next-openapi-interface-generator
Usage
generate-service-interface --source <source_directory> --output <output_directory>
Options
--source
,-s
: Specify the source directory. Default:src
--output
,-o
: Specify the output directory. Default:dist
Example
generate-service-interface --source src/app --output dist
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find any bugs or have any suggestions for improvement.
License
This project is licensed under the MIT License - see the LICENSE file for details.