apiaryio / api-blueprint

API Blueprint
https://apiblueprint.org
MIT License
8.64k stars 2.14k forks source link

Action attributes apply to both request and responses #277

Closed mbolis closed 5 years ago

mbolis commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

kylef commented 5 years ago

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