Class ImportApiRequest

    • Method Detail

      • basepath

        public final String basepath()

        Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.

        Returns:
        Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
      • body

        public final String body()

        The OpenAPI definition. Supported only for HTTP APIs.

        Returns:
        The OpenAPI definition. Supported only for HTTP APIs.
      • failOnWarnings

        public final Boolean failOnWarnings()

        Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

        Returns:
        Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object