-
Notifications
You must be signed in to change notification settings - Fork 9
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
/aci with invalid parameters returns JSON with undocumented fields #78
Comments
Swagger isn't good enough to describe the
I'll consider just turning the whole error into a string - though it feels kind of backwards making your error less informative just because the language specifying the response is utterly broken 🤷♂️ |
I also don't like this solution
oneOf example
But still mixing string and object in
I need some comments to understand the purpose of these fields:
|
We are stuck with OpenApi 2.0 I think, but I don't know too much about swagger/openapi and Erlang. The errors are basically the result of JSON-parsing so |
So, in one case
info
is a string in one case and an object in another.The swagger file says that
aci
should return#/definitions/CompilerErrors
in case of error, butCompilerErrors
should be an array 🤔 The most similar thing to the response is#/definitions/Error
, but it doesn't defineinfo
andparameter
fields.The text was updated successfully, but these errors were encountered: