Accept multiple mimetypes for consumption
sebplorenz opened this issue · 1 comments
sebplorenz commented
A request body can have multiple accepted mimetypes. Like
requestBody:
content:
application/json:
schema:
type: string
application/ld+json:
schema:
type: string
This produces:
@io.micronaut.http.annotation.Consumes("application/json", "application/ld+json")
Expected:
@io.micronaut.http.annotation.Consumes({"application/json", "application/ld+json"})
sebplorenz commented
Issue is fixed with PR #78
@stephanschnabel can you create a new release? thx