openapi-processor / openapi-processor-micronaut

an OpenAPI 3.0 & 3.1 interface & model java code generator for Micronaut
https://docs.openapiprocessor.io
Apache License 2.0
3 stars 2 forks source link

mapping does not include "consumes" #1

Closed hauner closed 4 years ago

hauner commented 4 years ago

the mapping annotation should have a consumes property based on the request body. The MappingAnnotationWriter does have code for this but it does not seem to work.

hauner commented 4 years ago

issue is caused by multipart/form-data and the replace request body by multipart parameters logic. The fix depends on oap-core 1.1.0