Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Схема объекта Episode в свагере некорректна #64

Closed
luzmane opened this issue Mar 5, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@luzmane
Copy link

luzmane commented Mar 5, 2023

Опишите проблему
Отсылаю запрос на:
https://api.kinopoisk.dev/v1/season?movieId=77044&limit=50 и вместо ожидаемого:

[Episode{
	movieId  number
	seasonNumber  number
	episodeNumber  number
	name  string
	alternativeName  string
	description  string
	date  string
}]

получаю следующую структуру:

{
    "number": 1,
    "name": "Эпизод, где Моника берёт новую соседку",
    "enName": "The One Where Monica Gets a Roommate",
    "description": null,
    "date": "1994-09-22"
}

Ожидаемое поведение
Обновление свагера или полей возвращаемого ответа

@luzmane luzmane added the bug Something isn't working label Mar 5, 2023
@mdwitr0 mdwitr0 added this to the Release 1.1 milestone Mar 5, 2023
@mdwitr0 mdwitr0 closed this as completed Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants