Sha256: d1668256aa39cebeedade2c57dd5c1037c1e07a4375f7550fee12d8579959850
Contents?: true
Size: 772 Bytes
Versions: 11
Compression:
Stored size: 772 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/node_factory/object" module Openapi3Parser module NodeFactory class SecurityScheme < NodeFactory::Object allow_extensions field "type", input_type: String, required: true field "description", input_type: String field "name", input_type: String field "in", input_type: String field "scheme", input_type: String field "bearerFormat", input_type: String field "flows", factory: :flows_factory field "openIdConnectUrl", input_type: String private def build_object(data, context) Node::SecurityScheme.new(data, context) end def flows_factory(context) NodeFactory::OauthFlows.new(context) end end end end
Version data entries
11 entries across 11 versions & 2 rubygems