Sha256: eb58ad298e1720715add974c1ed11f26698f48674844128268a854d5f3728220
Contents?: true
Size: 827 Bytes
Versions: 2
Compression:
Stored size: 827 Bytes
Contents
require 'swagger/swagger_object' module Swagger module V2 # Class representing a Swagger "Security Scheme Object". # @see https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#securitySchemeObject # Security Scheme Object class SecurityScheme < SwaggerObject # FIXME: Swagger documentation about what's required doesn't seem accurate - OSAuth2 centric? # According to docs, all except description are required. Schema and samples don't match. # @!group Fixed Fields required_field :type, String field :description, String field :name, String field :in, String required_field :flow, String required_field :authorizationUrl, String field :tokenUrl, String required_field :scopes, Hash # @!endgroup end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swagger-core-0.2.3 | lib/swagger/v2/security_scheme.rb |
swagger-core-0.2.2 | lib/swagger/v2/security_scheme.rb |