Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

byte arrays are not supported #154

Open
rmannibucau opened this issue Mar 14, 2018 · 2 comments
Open

byte arrays are not supported #154

rmannibucau opened this issue Mar 14, 2018 · 2 comments

Comments

@rmannibucau
Copy link
Contributor

rmannibucau commented Mar 14, 2018

byte arrays ([B) are not supported and lead to "[" in type definition.

It should be type=string,format=binary in swagger

@matfur92
Copy link

matfur92 commented Apr 6, 2018

For byte[] I had replaced
"$ref":"#/definitions/["
with
"type":"string", "format":"byte"
This in order to have a correct code generation with swagger codegen (https://github.com/swagger-api/swagger-codegen v. 2.3.0) from the swagger.json created with the analyzer.
Note: byte and not binary. Only byte works correctly for me.

@rmannibucau
Copy link
Contributor Author

would work for me as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants