Skip to content

added information about nullable fields in response#189

Draft
Ravinskij-Vladimir wants to merge 1 commit intomainfrom
swagger-nullable-info
Draft

added information about nullable fields in response#189
Ravinskij-Vladimir wants to merge 1 commit intomainfrom
swagger-nullable-info

Conversation

@Ravinskij-Vladimir
Copy link
Contributor

image Like that

Copy link
Contributor

@MaxSazanov MaxSazanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В остальных response из web-adapter всё есть?

@Schema(nullable = true, description = "Email may be null")
private final String email;
private final String firstName;
private final String lastName;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lastName не обязательно передаётся нам из тг

@@ -10,6 +11,7 @@ public class JwtResponse {
private final String type = "Bearer";
private final UUID id;
private final String username;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

username берется из тг, где он не обязателен

@@ -12,12 +13,17 @@ public record MeResponse(
Long tgId,
String firstName,
String lastName,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lastName не обязателен

@Ravinskij-Vladimir Ravinskij-Vladimir marked this pull request as draft August 18, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments