2023-09-15 09:40:35 +00:00
|
|
|
|
# coding=utf-8
|
|
|
|
|
|
"""
|
|
|
|
|
|
@project: smart-doc
|
|
|
|
|
|
@Author:虎
|
|
|
|
|
|
@file: api_mixin.py
|
|
|
|
|
|
@date:2023/9/14 17:50
|
|
|
|
|
|
@desc:
|
|
|
|
|
|
"""
|
|
|
|
|
|
from rest_framework import serializers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ApiMixin(serializers.Serializer):
|
|
|
|
|
|
|
2023-10-09 11:03:41 +00:00
|
|
|
|
@staticmethod
|
|
|
|
|
|
def get_request_params_api():
|
2023-09-15 09:40:35 +00:00
|
|
|
|
pass
|
|
|
|
|
|
|
2023-10-09 11:03:41 +00:00
|
|
|
|
@staticmethod
|
|
|
|
|
|
def get_request_body_api():
|
2023-09-15 09:40:35 +00:00
|
|
|
|
pass
|
|
|
|
|
|
|
2023-10-09 11:03:41 +00:00
|
|
|
|
@staticmethod
|
|
|
|
|
|
def get_response_body_api():
|
2023-09-15 09:40:35 +00:00
|
|
|
|
pass
|