@@ -129,7 +129,7 @@ uvicorn main:app --reload
129129" " "
130130This creates the following endpoints:
131131- GET /companies/ - List companies with pagination
132- - POST /companies/ - Create new company
132+ - POST /companies/ - Create new company
133133- GET /companies/{item_id}/ - Get specific company
134134- PUT /companies/{item_id}/ - Update company
135135- DELETE /companies/{item_id}/ - Delete company
@@ -160,7 +160,7 @@ GET /companies/1/ (with single wrapper):
160160{
161161 "data" : {
162162 "id" : 1 ,
163- "name" : " Acme Corp" ,
163+ "name" : " Acme Corp" ,
164164 "full_name" : " Acme Corporation Ltd." ,
165165 "created_at" : " 2023-01-01T10:00:00Z" ,
166166 "updated_at" : " 2023-01-01T10:00:00Z"
@@ -169,7 +169,7 @@ GET /companies/1/ (with single wrapper):
169169
170170GET /companies/stats/ (custom action):
171171{
172- "data " : 123
172+ "total " : 123
173173}
174174" " "
175175```
@@ -222,7 +222,7 @@ Ready to build amazing APIs? Start with our [Quick Start guide](quick-start.md)
222222Want to dive deeper? Explore our comprehensive guides:
223223
224224- [ ViewSets] ( viewsets/index.md ) - Learn about the core ViewSet concepts
225- - [ Schemas] ( schemas.md ) - Master schema generation and meta classes
225+ - [ Meta & Schemas] ( schemas.md ) - Master schema generation and meta classes
226226- [ Permissions] ( permissions.md ) - Secure your APIs with permission classes
227227- [ Pagination] ( pagination.md ) - Implement efficient data pagination
228228- [ State Management] ( state.md ) - Manage request-scoped state
0 commit comments