Class SecurityScheme


  • public class SecurityScheme
    extends Object
    SecurityScheme
    See Also:
    "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-scheme-object", "https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#security-scheme-object"
    • Constructor Detail

      • SecurityScheme

        public SecurityScheme()
    • Method Detail

      • getType

        public SecurityScheme.Type getType()
        returns the type property from a SecurityScheme instance.
        Returns:
        Type type
      • getDescription

        public String getDescription()
        returns the description property from a SecurityScheme instance.
        Returns:
        String description
      • setDescription

        public void setDescription​(String description)
      • getName

        public String getName()
        returns the name property from a SecurityScheme instance.
        Returns:
        String name
      • setName

        public void setName​(String name)
      • getIn

        public SecurityScheme.In getIn()
        returns the in property from a SecurityScheme instance.
        Returns:
        In in
      • getScheme

        public String getScheme()
        returns the scheme property from a SecurityScheme instance.
        Returns:
        String scheme
      • setScheme

        public void setScheme​(String scheme)
      • getBearerFormat

        public String getBearerFormat()
        returns the bearerFormat property from a SecurityScheme instance.
        Returns:
        String bearerFormat
      • setBearerFormat

        public void setBearerFormat​(String bearerFormat)
      • getFlows

        public OAuthFlows getFlows()
        returns the flows property from a SecurityScheme instance.
        Returns:
        OAuthFlows flows
      • setFlows

        public void setFlows​(OAuthFlows flows)
      • getOpenIdConnectUrl

        public String getOpenIdConnectUrl()
        returns the openIdConnectUrl property from a SecurityScheme instance.
        Returns:
        String openIdConnectUrl
      • setOpenIdConnectUrl

        public void setOpenIdConnectUrl​(String openIdConnectUrl)
      • addExtension31

        public void addExtension31​(String name,
                                   Object value)
      • addExtension

        public void addExtension​(String name,
                                 Object value)
      • setExtensions

        public void setExtensions​(Map<String,​Object> extensions)
      • get$ref

        public String get$ref()
        returns the $ref property from an SecurityScheme instance.
        Returns:
        String $ref
      • set$ref

        public void set$ref​(String $ref)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object