Add expect responses section #50

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
5 participants

Add ExpectResponses in method to annotate the format and schema of response

This would be quite nice to have, +1

Was this ever merged in or was an alternate method introduced? Definitely +1 if it's not...

Contributor

phairow commented Oct 9, 2014

It's not yet added and this implementation cannot be merged as is. at this point the solution would likely make more sense if it leveraged the json schema support we recently added. closing this pull request and keeping the discussion on #16 alive since the feature is still desired. See the sample schema https://github.com/mashery/iodocs/blob/master/public/data/egnyte.json and notice the recently added schemas section and also notice that methods now have a request property that can reference a schema. we probably want a response property where we can reference response schemas and other desired settings for the response.

phairow closed this Oct 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment