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
When using @CookieValue to annotate a mapping parameter, the generated spec adds the cookie value to the definition of the request body; pushing the actual request body out to a property of the body. Adding an @Parameter annotation removes the cookie from the definition of the body, but the request body is still pushed to a property.
To Reproduce
Spring Boot: v2.1.2.RELEASE
springdoc-openapi-ui: 1.2.30
Describe the bug
When using
@CookieValue
to annotate a mapping parameter, the generated spec adds the cookie value to the definition of the request body; pushing the actual request body out to a property of the body. Adding an@Parameter
annotation removes the cookie from the definition of the body, but the request body is still pushed to a property.To Reproduce
Spring Boot: v2.1.2.RELEASE
springdoc-openapi-ui: 1.2.30
Actual:
Expected:
Issue is the same in YAML.
Sample Controller:
The text was updated successfully, but these errors were encountered: