Sha256: 2ca02ef9c48217cdb0f18dde4e96e23c2a1d327c1d24191ff0b058006100ab4e
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
# 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#mediaTypeObject class MediaType < Node::Object # @return [Schema, nil] def schema node_data["schema"] end # @return [Any] def example node_data["example"] end # @return [Map<String, Example>] def examples node_data["examples"] end # @return [Map<String, Encoding>] def encoding node_data["encoding"] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems