You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
student.get("me", use: getMe).openAPI(
summary:"[Student] Get me object",
description:"This route returns general information about the student.",
response:.type(GetStudentDTO.self),
auth:.bearer())
But in Swagger I don't see a response type.
But if the response type is an array it does work.
student.get("me", use: getMe).openAPI(
summary:"[Student] Get me object",
description:"This route returns general information about the student.",
response:.type([GetStudentDTO].self),
auth:.bearer())
Can you please help me with that?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello, I encountered following problem.
I have following DTO:
And following route:
But in Swagger I don't see a response type.
But if the response type is an array it does work.
Can you please help me with that?
Thanks in advance
The text was updated successfully, but these errors were encountered: