Reinstate missing section headings in the reference documentation
Closes gh-833
This commit is contained in:
@@ -127,7 +127,6 @@ include::{examples-dir}/com/example/webtestclient/CustomFormat.java[tags=custom-
|
||||
----
|
||||
include::{examples-dir}/com/example/restassured/CustomFormat.java[tags=custom-format]
|
||||
----
|
||||
====
|
||||
|
||||
|
||||
|
||||
@@ -195,3 +194,5 @@ include::{examples-dir}/com/example/restassured/CustomDefaultOperationPreprocess
|
||||
----
|
||||
<1> Apply a request preprocessor that removes the header named `Foo`.
|
||||
<2> Apply a response preprocessor that pretty prints its content.
|
||||
|
||||
|
||||
|
||||
@@ -24,13 +24,13 @@ include::{examples-dir}/com/example/webtestclient/PerTestPreprocessing.java[tags
|
||||
<1> Apply a request preprocessor that removes the header named `Foo`.
|
||||
<2> Apply a response preprocessor that pretty prints its content.
|
||||
|
||||
[source,java,indent=0,role="secondary"]
|
||||
.REST Assured
|
||||
----
|
||||
include::{examples-dir}/com/example/restassured/PerTestPreprocessing.java[tags=preprocessing]
|
||||
----
|
||||
<1> Apply a request preprocessor that removes the header named `Foo`.
|
||||
<2> Apply a response preprocessor that pretty prints its content.
|
||||
====
|
||||
|
||||
Alternatively, you may want to apply the same preprocessors to every test.
|
||||
You can do so by using the `RestDocumentationConfigurer` API in your `@Before` method to configure the preprocessors.
|
||||
|
||||
Reference in New Issue
Block a user