Adding an OpenAPI 3.0 definition as a synchronization source
You can add an OpenAPI 3.0 definition to automatically create the resources that are required for testing the API that the definition describes.
The following security information in OpenAPI 3.0 definitions are
included when you synchronize.
- Basic Authentication
- An operation that uses this security scheme results in a physical HTTP transport configured with the Basic Authentication type enabled.
- Bearer
- An operation that uses this security scheme results in an authorization header with a default value of bearer <tag> where tag is an environment tag with a name <syncSourceName>/<securitySchemeName>/<parameterName(in this case Authorization)>.
- API key
- An API key is used for authorization and can be sent in a header, query or cookie.
- Header: An HTTP header is placed in the operation. The name is whatever the API definition defined it as. Its value is a tag that uses the same format as the bearer tag.
- Query: A query string parameter is created in the Web URL schema template for the operation. It is a name value pair parameter where the name is defined in the definition. It has a tag as its default value where tag is an environment tag with a name specified in the security scheme, for example, as %%<syncSourceName>/ApiKeyAuth/X-API-KEY%%.
- Cookie: This location results in an HTTP header in the operation. The name is Cookie and the value is <parameter name from definition>=<environment tag>.
- OAuth
- Not supported.
- OpenIdConnect
- Not supported.