Some quick documentation for old legacy routes.
This commit is contained in:
74
documentation/legacy_router_logs/post_comment.md
Normal file
74
documentation/legacy_router_logs/post_comment.md
Normal file
@@ -0,0 +1,74 @@
|
||||
# Router: post_comment
|
||||
|
||||
**File:** app/routers/post_comment.py
|
||||
|
||||
**Routes found:** 4
|
||||
|
||||
**Functions:** 0 —
|
||||
|
||||
**Classes:** 0 —
|
||||
|
||||
|
||||
|
||||
## Routes
|
||||
|
||||
- **PATCH** `/{obj_id}`
|
||||
|
||||
- **GET** `/list`
|
||||
|
||||
- **GET** `/{obj_id}`
|
||||
|
||||
- **DELETE** `/{obj_id}`
|
||||
|
||||
|
||||
|
||||
## From-imports
|
||||
|
||||
- ..log
|
||||
|
||||
- .api_crud
|
||||
|
||||
- app.config
|
||||
|
||||
- app.db_sql
|
||||
|
||||
- app.lib_general
|
||||
|
||||
- app.models.post_comment_models
|
||||
|
||||
- app.models.response_models
|
||||
|
||||
- fastapi
|
||||
|
||||
- pydantic
|
||||
|
||||
- typing
|
||||
|
||||
|
||||
|
||||
## File preview (first 20 lines)
|
||||
|
||||
```python
|
||||
|
||||
import datetime
|
||||
#from datetime import datetime, time, timedelta
|
||||
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Path, Query, Response, status
|
||||
from pydantic import BaseModel, EmailStr, Field
|
||||
from typing import Dict, List, Optional, Set, Union
|
||||
|
||||
from app.lib_general import *
|
||||
from ..log import *
|
||||
from app.config import settings
|
||||
from app.db_sql import *
|
||||
|
||||
from .api_crud import delete_obj_template, get_obj_template, get_obj_li_template, patch_obj_template, post_obj_template
|
||||
|
||||
from app.models.post_comment_models import Post_Comment_Base
|
||||
from app.models.response_models import *
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user