Tagged articles

api-design

2 articles · Page 1 of 1
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Secure FastAPI Responses: Separate Input and Output Models with response_model

This article shows how FastAPI's response_model lets you define distinct input and output Pydantic models to hide sensitive fields like passwords, outlines common CRUD scenarios, demonstrates partial updates with PATCH and exclude_unset, and explains why extracting models into a dedicated file improves code organization.

PydanticPythonapi-design
0 likes · 6 min read
Secure FastAPI Responses: Separate Input and Output Models with response_model
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Designing Modular Backend Services and API Management with Spring Cloud

This article explains how to build a highly extensible, modular backend service using Spring Cloud, demonstrates practical module composition and separation, discusses RESTful API design principles, presents concrete Java code examples for commands, controllers and pagination, and reviews popular API documentation tools such as Swagger, SpringDoc and Knife4j.

RESTfulapi-designbackend
0 likes · 17 min read
Designing Modular Backend Services and API Management with Spring Cloud