mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-22 12:04:16 +00:00
format empty records and anonymous types as a single line
This commit is contained in:
@@ -42,14 +42,11 @@ public class ExceptionMappers {
|
||||
}
|
||||
|
||||
@RegisterForReflection
|
||||
public record UnauthorizedResponse(String message, boolean allowRegistrations) {
|
||||
}
|
||||
public record UnauthorizedResponse(String message, boolean allowRegistrations) {}
|
||||
|
||||
@RegisterForReflection
|
||||
public record AuthenticationFailed(String message) {
|
||||
}
|
||||
public record AuthenticationFailed(String message) {}
|
||||
|
||||
@RegisterForReflection
|
||||
public record ValidationFailed(String message) {
|
||||
}
|
||||
public record ValidationFailed(String message) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user