Sha256: 77be352706dc50b841fad1b672b18bcb42961627bad756a1ac523c70fa1bf9d4
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/node/tag" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openapi3_parser-0.5.1 | lib/openapi3_parser/node_factory/tag.rb |
openapi3_parser-0.5.0 | lib/openapi3_parser/node_factory/tag.rb |