Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

[MKT-1068] Framework Guide: Fast API & Pydantic - #112

Open
philsturgeon wants to merge 3 commits into
speakeasy-api:mainfrom
philsturgeon:framework/fast-api
Open

philsturgeon wants to merge 3 commits into
speakeasy-api:mainfrom
philsturgeon:framework/fast-api

Conversation

@philsturgeon

Copy link
Copy Markdown
Contributor

This is a combined Pydantic and Fast API update as the two have a lot of crossover.

Both

  • Switched both examples over to the Train Travel API to be consistent with everything else.
  • Use the style guide to remove "you"/"we"/etc.

FastAPI

  • Swapped Swagger UI for Scalar.
  • Point folks to the Pydantic guide to learn more.

Sample code for this guide is over here: speakeasy-api/examples#51

Pydantic

Bumped package versions and tested its all still working. Got some weird oneOf despite being OpenAPI v3.1, but it's a limitation of FastAPI so we'll just have to go with that.

Sample code for this guide is over here: speakeasy-api/examples#51

@philsturgeon
philsturgeon requested a review from a team as a code owner September 24, 2026 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant