Migrate to Spring REST Docs 3.0

Proprietary

Upgrades Spring REST Docs to 3.0 and moves REST Assured support from the restassured3 package to restassured, and its URI preprocessor to the core Preprocessors. Spring REST Docs 3.0 also removed requestParameters in favor of the separate queryParameters and formParameters, so documented request parameters are migrated to queryParameters. Requests that submitted the parameters as a form body need formParameters instead; those fail with a SnippetException naming the parameters that were not found in the request, and have to be changed by hand. Renaming the call also changes the snippet REST Docs writes, from request-parameters.adoc to query-parameters.adoc or form-parameters.adoc, so Asciidoctor includes of the old name have to be updated by hand as well. That is not done here because nothing in a documentation file identifies the snippet as REST Docs', and a missing include does not fail the build.

io.moderne.java.spring.restdocs.UpgradeSpringRestDocs_3_0
mod run . --recipe=io.moderne.java.spring.restdocs.UpgradeSpringRestDocs_3_0

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.