Hi! I have the following code
@GET
@Operation(
...
responses = {
@ApiResponse(
responseCode = "200",
content = @Content(
examples = {
@ExampleObject(
name = "Some name",
value = "Some Value"
)
}
))
})
@Produces("customMediaType")
public A fetchFont() {
...
}
with this code the following piece of documentation will appear in swagger.json
"200" : {
"content" : {
"customMediaType" : {
"examples" : {
"Some name" : {
"value" : "Some value"
}
}
}
}
}
However, when converting json to md using widdershins, this section is not displayed. This is due to the custom media type.
Thanks in advance for any effort on this issue!
Hi! I have the following code
with this code the following piece of documentation will appear in swagger.json
However, when converting json to md using widdershins, this section is not displayed. This is due to the custom media type.
Thanks in advance for any effort on this issue!