# frozen_string_literal: true require "openapi3_parser/node/object" module Openapi3Parser module Node # @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#externalDocumentationObject class ExternalDocumentation < Node::Object # @return [String, nil] def description node_data["description"] end # @return [String, nil] def description_html render_markdown(description) end # @return [String] def url node_data["url"] end end end end