изменил типы данных у схемы
This commit is contained in:
parent
53ea3f2aa9
commit
fb1398c104
|
|
@ -15,31 +15,31 @@ class SongSchema(AutoSchema):
|
|||
name='title',
|
||||
location='form',
|
||||
required=False,
|
||||
schema=coreschema.Array(description='Название трека')
|
||||
schema=coreschema.String(description='Название трека')
|
||||
),
|
||||
coreapi.Field(
|
||||
name='artist',
|
||||
location='form',
|
||||
required=False,
|
||||
schema=coreschema.Integer(description='Исполнитель')
|
||||
schema=coreschema.String(description='Исполнитель')
|
||||
),
|
||||
coreapi.Field(
|
||||
name='album',
|
||||
location='form',
|
||||
required=False,
|
||||
schema=coreschema.Integer(description='Альбом трека')
|
||||
schema=coreschema.String(description='Альбом трека')
|
||||
),
|
||||
coreapi.Field(
|
||||
name='genre',
|
||||
location='form',
|
||||
required=False,
|
||||
schema=coreschema.Integer(description='Жанр трека')
|
||||
schema=coreschema.String(description='Жанр трека')
|
||||
),
|
||||
coreapi.Field(
|
||||
name='art',
|
||||
location='form',
|
||||
required=False,
|
||||
schema=coreschema.Integer(description='Изображение трека')
|
||||
schema=coreschema.String(description='Изображение трека')
|
||||
),
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue