wicaledon
4 years agoVisitor
Define Max Size Limit for Multipart File Requests
I have an API created with Spring and I use swagger.yaml file (I use openapi 3.0.1) to define the resources.
In my application.yaml I defined the limits for multipart requests such as:
- spring.servlet.multipart.max-file-size: 15MB
- spring.servlet.multipart.max-request-size: 30MB
My question is, can I define these same limit infos to swagger ? As I researched, I see maxLength and minLength but I guess these are for string limitations