Spring Boot - API Documentation
You want to document a complex API model field that can be null but has a maximum length of 50 characters. Which
@Schema annotation usage is correct?@Schema annotation usage is correct?maxLength expect an integer, and nullable expects a boolean.nullable = true is needed, and maxLength should be 50 as an integer.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions