-
Notifications
You must be signed in to change notification settings - Fork 737
Add support for documenting request and response cookies #592
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
Conversation
@clydebarrow Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@clydebarrow Thank you for signing the Contributor License Agreement! |
CheckStyle fails on my build with errors like this from test code:
But similar usage of static imports is already present, and passes checkStyle, in existing test code. I have absolutely no idea how to deal with that - is there some hidden config for checkStyle? I could only find an xml file that references an external project. |
This looks great on first look, @clydebarrow. Thanks very much, particularly for adding plenty of tests and updating the docs too. The CheckStyle config comes from Spring Java Format. Please don't worry about it for now. I can look at allowing some new static imports there in due course. We generally try to keep diffs as clean as possible by only changing what's needed to fix an issue or implement a new feature. To that end, can you please revert the changes to Where you've added a whole new class, can you please add |
@wilkinsona The changes to build.gradle were to allow the build to complete without error. I have raised an issue #593 to clarify this, and determined that only one of the changes to build.gradle was needed. I will revert the other. |
repo.spring.io appears to be down right now. |
Are there any movements in this feature? This functionality is sorely lacking. |
No, sorry. There's nothing beyond what you can see here. The plan is to include the changes proposed here in Spring REST Docs 2.1, but there's no date for that release at this time. |
Thanks again for the contribution, @clydebarrow, and for your patience until we got this merged. |
Addresses enhancement request #306 and issue #593.
Documentation of cookies in requests and responses follows the same pattern as that already used for headers.