mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Optimize routes to better align with RESTful (#673)
* Optimize routes to better align with RESTful * Add codes endpoint description * Update jinja templates * fix typo * fix sql
This commit is contained in:
@@ -27,6 +27,12 @@ class UpdateNoticeParam(NoticeSchemaBase):
|
||||
"""更新通知公告参数"""
|
||||
|
||||
|
||||
class DeleteNoticeParam(SchemaBase):
|
||||
"""删除通知公告参数"""
|
||||
|
||||
pks: list[int] = Field(description='通知公告 ID 列表')
|
||||
|
||||
|
||||
class GetNoticeDetail(NoticeSchemaBase):
|
||||
"""通知公告详情"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user