@TargetSE(valueSE=TYPESE) @RetentionSE(valueSE=RUNTIMESE) @DocumentedSE @InheritedSE @ImportAutoConfiguration @Import(value=org.springframework.boot.test.autoconfigure.restdocs.RestDocumentationContextProviderRegistrar.class) @PropertyMapping(value="spring.test.restdocs") public @interface AutoConfigureRestDocs
MockMvc
ベースのテスト、リアクティブ Web アプリケーションの WebTestClient
ベースのテスト、HTTP を介した Web アプリケーションの RestAssured
ベースのテストを設定します。 出力ディレクトリと、生成された URI のホスト、スキーム、ポートの構成を許可します。さらに構成が必要な場合は、RestDocsMockMvcConfigurationCustomizer
、RestDocsWebTestClientConfigurationCustomizer
、RestDocsRestAssuredConfigurationCustomizer
Bean を使用できます。
RestDocsAutoConfiguration
, RestDocsMockMvcConfigurationCustomizer
, RestDocsWebTestClientConfigurationCustomizer
, RestDocsRestAssuredConfigurationCustomizer
@AliasFor(value="outputDir") public abstract StringSE value
outputDir()
のエイリアス。public abstract StringSE uriScheme
http
または https
)。デフォルトは http
です。public abstract StringSE uriHost
localhost
です。