2023-08-10 12:27:18 +08:00
|
|
|
from apiflask import Schema
|
2023-08-16 14:15:15 +08:00
|
|
|
from apiflask.fields import File
|
2023-08-10 12:27:18 +08:00
|
|
|
|
|
|
|
|
2023-08-16 14:15:15 +08:00
|
|
|
class ImageIn(Schema):
|
|
|
|
image = File()
|
2023-08-10 12:27:18 +08:00
|
|
|
|
|
|
|
|
2023-08-16 14:15:15 +08:00
|
|
|
class FileOut(Schema):
|
|
|
|
file = File()
|
2023-08-10 12:27:18 +08:00
|
|
|
|
|
|
|
|