Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 806 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 806 Bytes

Node endpoint collection

Collection of all HTTP endpoints for every service hosted on the Node side.

With FastAPI

Create a new directory in this repository for your project. Start your service. FastAPI will automatically provide an OpenAPI spec that you can download into your directory.

$ mkdir my-project
$ cd my-project
$ curl -o openapi.json http://0.0.0.0:8000/openapi.json

If you haven't already, install widdershins. You need a Node.js and NPM installation on your system. Once that's complete, run npm i -g [email protected]. In your directory, run the following command to generate a Markdown file from your OpenAPI spec.

$ widdershins openapi.json -c -l -o README.md

Commit your changes and push them to this repository.