StaffCoder
FastAPI
FastAPIFastAPI 0.139Python 3.13
7 modules · 28 challengesSign up
Modules7 modules · 28 challenges
Learn how FastAPI documents your API for the people who call it: giving each operation a title, an explanation and a named answer shape, publishing ready-made example requests, giving the service its own name, contact and license, and serving its documentation pages at paths you choose.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Described Path Operations

Sign up to unlock
—No data yeteasy
About this challenge

This problem covers making a station directory explain itself to the people who call it, so that every operation it publishes arrives with a title, an explanation, the group it belongs to, a named shape for its answer, and a warning on the one route that is on its way out.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

Schema Examples

Sign up to unlock
—No data yeteasy
About this challenge

This problem covers filling a service's published description with worked payloads, one for a whole order, one for each value it holds, and a named set callers can pick from, while the limits that refuse a bad order keep governing.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

Branded API Metadata

Sign up to unlock
—No data yeteasy
About this challenge

This problem covers giving a service its own published identity, the contact and license behind it, described groupings for its operations, and its own addresses for the pages that describe it.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

Partner-Ready Public Docs

STAR
Solving it completes the module
—No data yeteasy
About this challenge

This problem covers publishing a service's whole public description as a contract: the name, contact and license behind it, described groupings for its operations, a title, an explanation and a lifecycle marker on each operation, worked payloads for the values it takes, its own addresses for the pages that describe it, and a fixed expectation the description is checked against.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.