Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Swagger Components Installation

npm i tspec
npm update

Run server

npm run dev

Build server

npm run build

Generate OpenAPI document

npm run openapi:gen

OpenAPI Documentation

The openapi.json file has to be generated by using npm

Advantages

  • No prior knowledge on OpenAPI specification is required.

Disadvantage

  • 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.