Docs@skmtc/core

OpenAPI document

TYPE

OasSecurityScheme

@skmtc/core 0.63.4

A security scheme of the document. Its type shows which one it is: 'http', 'apiKey', 'oauth2' or 'openIdConnect'.

Core does not parse mutualTLS schemes. The parser logs an INVALID_SECURITY_SCHEME issue for each one and leaves it out.

Signature

import type { OasSecurityScheme } from '@skmtc/core'

type OasSecurityScheme =
  | OasHttpSecurityScheme
  | OasApiKeySecurityScheme
  | OasOAuth2SecurityScheme
  | OasOpenIdSecurityScheme