Method: OpenApi::SecuritySchema#initialize

Defined in:
lib/open_api/security_schema.rb

#initialize(type:, description: nil, name:, in:, scheme:, bearer_format: nil, flows:, open_id_connect_url:) ⇒ SecuritySchema

Returns a new instance of SecuritySchema.



8
9
10
11
12
13
14
15
16
17
# File 'lib/open_api/security_schema.rb', line 8

def initialize(type:, description: nil, name:, in:, scheme:, bearer_format: nil, flows:, open_id_connect_url:)
  self.type = type
  self.description = description
  self.name = name
  self.in = binding.local_variable_get(:in)
  self.scheme = scheme
  self.bearer_format = bearer_format
  self.flows = flows
  self.open_id_connect_url = open_id_connect_url
end