- DEFAULT_CONTEXT_PATH - Static variable in class org.springframework.restdocs.config.UriConfigurer
-
The default context path for documented URIs
- DEFAULT_HOST - Static variable in class org.springframework.restdocs.config.UriConfigurer
-
The defalt host for documented URIs
- DEFAULT_PORT - Static variable in class org.springframework.restdocs.config.UriConfigurer
-
The default port for documented URIs
- DEFAULT_SCHEME - Static variable in class org.springframework.restdocs.config.UriConfigurer
-
The default scheme for documented URIs
- DEFAULT_SNIPPET_ENCODING - Static variable in class org.springframework.restdocs.config.SnippetConfigurer
-
The default encoding for documentation snippets
- description(String) - Method in class org.springframework.restdocs.hypermedia.LinkDescriptor
-
Specifies the description of the link
- description(String) - Method in class org.springframework.restdocs.payload.FieldDescriptor
-
Specifies the description of the field
- description(String) - Method in class org.springframework.restdocs.request.ParameterDescriptor
-
Specifies the description of the parameter
- document(String) - Static method in class org.springframework.restdocs.RestDocumentation
-
Documents the API call to the given outputDir
.
- DocumentableHttpServletRequest - Class in org.springframework.restdocs.util
-
An HttpServletRequest
wrapper that provides a limited set of methods intended
to help in the documentation of the request.
- DocumentableHttpServletRequest(MockHttpServletRequest) - Constructor for class org.springframework.restdocs.util.DocumentableHttpServletRequest
-
- documentationConfiguration() - Static method in class org.springframework.restdocs.RestDocumentation
-
Provides access to a
MockMvcConfigurer
that can be used to configure the
REST documentation when building a
MockMvc
instance.
- DocumentationWriter - Class in org.springframework.restdocs.snippet
-
A
PrintWriter
that provides additional methods which are useful for producing
API documentation.
- DocumentationWriter(Writer) - Constructor for class org.springframework.restdocs.snippet.DocumentationWriter
-
- DocumentationWriter.DocumentationAction - Interface in org.springframework.restdocs.snippet
-
Encapsulates an action that outputs some documentation.
- DocumentationWriter.TableAction - Interface in org.springframework.restdocs.snippet
-
Encapsulates an action that outputs a table.
- DocumentationWriter.TableWriter - Interface in org.springframework.restdocs.snippet
-
A writer for producing a table
- documentCurlRequest(String) - Static method in class org.springframework.restdocs.curl.CurlDocumentation
-
Produces a documentation snippet containing the request formatted as a cURL command
- documentHttpRequest(String) - Static method in class org.springframework.restdocs.http.HttpDocumentation
-
Produces a documentation snippet containing the request formatted as an HTTP
request
- documentHttpResponse(String) - Static method in class org.springframework.restdocs.http.HttpDocumentation
-
Produces a documentation snippet containing the response formatted as the HTTP
response sent by the server
- documentLinks(String, LinkExtractor, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Creates a LinkSnippetResultHandler
that will produce a documentation
snippet for a response's links.
- documentQueryParameters(String, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
-
- documentRequestFields(String, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
-
Creates a RequestFieldsSnippetResultHandler
that will produce a
documentation snippet for a request's fields.
- documentResponseFields(String, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
-
Creates a ResponseFieldsSnippetResultHandler
that will produce a
documentation snippet for a response's fields.