-
Notifications
You must be signed in to change notification settings - Fork 223
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
invalid json shoud be rejected #19
Comments
@evantill yup, agree 100%, thanks for pointing this out. There's only one problem: the json schema is currently embedded in an apiary.apib file, and so it's not easy to pass that to a json schema validation library. They're working on it in apiaryio/api-blueprint#20 |
@tleyden just curious if the issue of rejecting an invalid JSON payload has ever been re-evaluated? Will this ever be addressed? At this time, an invalid payload to the mock server produces a message in the Apiary inspector log, but the request still goes through and returns a response. Thanks! |
Hi @angrbrd. Sorry, no progress or ETA on this yet, but I'll make sure to update the issue. On this note, what would your thoughts be about moving from apiary to swagger? As a user would you prefer one over the other? |
@tleyden I do tend to prefer Swagger and it seems that it has grown in popularity and garnered enough support to have a larger user base now, as apposed to apiary (at least that's my personal impression). But there is always a transition period, that's the issue. We have a lot of Apiary blueprints that have yet to be converted over to Swagger, which is what is driving this exploration. Thanks for any help with this. |
invalid json data should be rejected
invalid content (
config_vars
must be insideengine_args
)The text was updated successfully, but these errors were encountered: