npm i tspec
npm update
npm run dev
npm run build
npm run openapi:gen
The openapi.json file has to be generated by using npm
- No prior knowledge on OpenAPI specification is required.
- Tspec can be said to be still in its infancy and does not fully provide all the OpenAPI functionalities.
- Post-editing to the generated OpenAPI documentation may be required to add more description to the document.