注释类型 AutoConfigureRestDocs

    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      StringoutputDir
      The output directory to which generated snippets will be written.
      StringuriHost
      The host to be used in documented URIs.
      inturiPort
      The port to be used in documented URIs.
      StringuriScheme
      The scheme (typically http or https) to be used in documented URIs.
      Stringvalue
      The output directory to which generated snippets will be written.
    • 元素详细资料

      • value

        @AliasFor("outputDir")
        String value
        The output directory to which generated snippets will be written. An alias for outputDir().
        返回:
        the output directory
        默认值:
        ""
      • outputDir

        @AliasFor("value")
        String outputDir
        The output directory to which generated snippets will be written. An alias for value().
        返回:
        the output directory
        默认值:
        ""
      • uriScheme

        String uriScheme
        The scheme (typically http or https) to be used in documented URIs. Defaults to http.
        返回:
        the scheme
        默认值:
        "http"
      • uriHost

        String uriHost
        The host to be used in documented URIs. Defaults to localhost.
        返回:
        the host
        默认值:
        "localhost"
      • uriPort

        int uriPort
        The port to be used in documented URIs. Defaults to 8080.
        返回:
        the port
        默认值:
        8080