Sha256: 7f102fe2ccb378fce6dc17cbd8eb3691cb27e8b1691a29ceb20811d57f711018

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Modern
  module DocGenerator
    class OpenAPI3
      module Schemas
        def _security_schemes(descriptor)
          descriptor.securities_by_name.map do |name, security|
            [name, security.to_openapi3.compact]
          end.to_h
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
modern-0.5.0 lib/modern/doc_generator/open_api3/security_schemes.rb
modern-0.4.6 lib/modern/doc_generator/open_api3/security_schemes.rb
modern-0.4.5 lib/modern/doc_generator/open_api3/security_schemes.rb
modern-0.4.4 lib/modern/doc_generator/open_api3/security_schemes.rb
modern-0.4.3 lib/modern/doc_generator/open_api3/security_schemes.rb
modern-0.4.2 lib/modern/doc_generator/open_api3/security_schemes.rb