stoicflame / enunciate-openapi

OpenAPI3 module for Enunciate
Apache License 2.0
10 stars 10 forks source link

byte array not correcly represented in OpenAPI #3

Closed jskov-jyskebank-dk closed 6 years ago

jskov-jyskebank-dk commented 6 years ago

DTO property of type byte[] gets rendered in OpenApi YAML as a simple string.

It should be rendered as string/binary, see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#dataTypes