Class: OpenAPI::Loader::Denormalizer

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/open_api/loader/denormalizer.rb,
lib/open_api/loader/denormalizer/servers.rb,
lib/open_api/loader/denormalizer/security.rb,
lib/open_api/loader/denormalizer/variables.rb,
lib/open_api/loader/denormalizer/parameters.rb

Overview

Denormalizes OAS3 parameters, servers, and security by moving them from OpenAPI root and Path objects right into the corresponding Operation objects.

Defined Under Namespace

Classes: Parameters, Security, Servers, Variables

Constant Summary collapse

WRAPPERS =
[Parameters, Security, Servers, Variables].freeze

Instance Method Summary collapse

Instance Method Details

#callObject



20
21
22
23
# File 'lib/open_api/loader/denormalizer.rb', line 20

def call
  WRAPPERS.each { |wrapper| wrapper.new(source).call }
  source
end