ApiImport

data class ApiImport(val contentFormat: String, val contentValue: String, val wsdlSelector: ApiImportWsdlSelector? = null)

Constructors

Link copied to clipboard
constructor(contentFormat: String, contentValue: String, wsdlSelector: ApiImportWsdlSelector? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The format of the content from which the API Definition should be imported. Possible values are: openapi, openapi+json, openapi+json-link, openapi-link, swagger-json, swagger-link-json, wadl-link-json, wadl-xml, wsdl and wsdl-link.

Link copied to clipboard

The Content from which the API Definition should be imported. When a content_format of *-link-* is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail.

Link copied to clipboard

A wsdl_selector block as defined below, which allows you to limit the import of a WSDL to only a subset of the document. This can only be specified when content_format is wsdl or wsdl-link.