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

Action attributes apply to both request and responses #277

Closed
mbolis opened this issue Oct 26, 2015 · 3 comments
Closed

Action attributes apply to both request and responses #277

mbolis opened this issue Oct 26, 2015 · 3 comments

Comments

@mbolis
Copy link

mbolis commented Oct 26, 2015

When defining Attributes inside an Action section, they show as schema for both the Request and Responses.
This seems to be in contrast with the docs, where it's stated that "all the Request sections of the respective Action section inherits these attributes".
Should this be considered an error in the docs or in the observed behavior? Is there a way to make Attributes apply to the Request only?
Thank you.

@pksunkara
Copy link
Contributor

they show as schema for both the Request and Responses.

That is a bug in older parser releases, which has been already fixed in the new parser release protagonist@1.1.1

It will take a bit of time to propogate to Apiary.

@mbolis
Copy link
Author

mbolis commented Oct 27, 2015

Cool, I'm looking forward to it!
Thank you for the excellent job.

@kylef
Copy link
Member

kylef commented Jan 17, 2019

This has been fixed for some time, sorry for not letting you know sooner.

@kylef kylef closed this as completed Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants