Glossary coding Term Page

response_model

An option that declares the JSON shape an endpoint returns

response-model #coding#fastapi
Korean version

Related Concepts

Core Idea

response_model is An option that declares the JSON shape an endpoint returns. FastAPI filters the response and documents it automatically. It usually makes the most sense alongside Read/write model split, Field, OpenAPI schema.

Why It Matters Here

Mathbong reuses this term across fastapi posts as shared vocabulary.

Posts Mentioning This Concept