Sha256: 4abe26cb963e8ca8cf4c5ddb0831df45ed900819d28d0a54f919288ae9e196dd
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/node_factory/object" require "openapi3_parser/node_factory/external_documentation" module Openapi3Parser module NodeFactory class Tag < NodeFactory::Object allow_extensions field "name", input_type: String, required: true field "description", input_type: String field "externalDocs", factory: NodeFactory::ExternalDocumentation private def build_object(data, context) Node::Tag.new(data, context) end end end end
Version data entries
11 entries across 11 versions & 2 rubygems