Skip to content

tobiberger/demo-default-value-required

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproducing bug introduced in springdoc-openapi v2.0.3

Until v2.0.2, a request parameter that's non-nullable in Kotlin code wasn't marked as required in the openapi docs if a default value was provided in the @RequestParameter annotation.

Since v2.0.3, such parameters are marked as required, even though the SpringMVC endpoint works perfectly fine without providing a value.

See HelloController for an example.

OpenApiTest checks that the api docs didn't change from a documentation that was created with v2.0.2.

This refers to springdoc/springdoc-openapi#2149

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages