jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 42 forks source link

support optional requestBody #194

Closed potatogim closed 3 years ago

potatogim commented 3 years ago

According to the OpenAPI specification, requestBody can be optional so we need to follow that.

ref: https://github.com/jhthorsen/mojolicious-plugin-openapi/issues/170#issuecomment-671791298

jhthorsen commented 3 years ago

Looks good to me 👍