@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @ImportAutoConfiguration @Import(value=org.springframework.boot.test.autoconfigure.restdocs.RestDocumentationContextProviderRegistrar.class) @PropertyMapping(value="spring.test.restdocs") public @interface AutoConfigureRestDocs
RestDocsMockMvcConfigurationCustomizer
bean can be used.RestDocsAutoConfiguration
,
RestDocsMockMvcConfigurationCustomizer
Modifier and Type | Optional Element and Description |
---|---|
String |
outputDir
The output directory to which generated snippets will be written.
|
String |
uriHost
The host to be used in documented URIs.
|
int |
uriPort
The port to be used in documented URIs.
|
String |
uriScheme
The scheme (typically
http or https ) to be used in documented URIs. |
String |
value
The output directory to which generated snippets will be written.
|
@AliasFor(value="outputDir") public abstract String value
outputDir()
.public abstract String uriScheme
http
or https
) to be used in documented URIs.
Defaults to http
.public abstract String uriHost
localhost
.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.