Speakeasy is the fastest way to ship developer experience for your APIs.
speakeasyapi.dev
This example API demonstrates Speakeasy's recommended practices for generating clear OpenAPI specifications.
To install and run this example, you'll need a Python virtualenv with FastAPI installed.
-
Activate your Python virtualenv.
-
Install FastAPI. Run the following in the terminal:
pip install "fastapi[all]"
-
Clone this repo:
git clone [email protected]:ritza-co/apitizing-burgers.git
-
In the
app
directory, run:uvicorn main:app --reload
-
Open this link in your browser: http://127.0.0.1:8000/docs
To save OpenAPI output to a file and regenerate the SDK with Speakeasy, first install Speakeasy by following the Speakeasy Getting Started guide.
On macOS, you can install Speakeasy using Homebrew.
In your terminal, run:
brew install speakeasy-api/homebrew-tap/speakeasy
In the project's directory, run:
./gen.sh