Sha256: c489fb8e4d3589d8c303e8bc835ae816cf975070624b486a29dd71864bbb0e38
Contents?: true
Size: 610 Bytes
Versions: 11
Compression:
Stored size: 610 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 self["schema"] end # @return [Any] def example self["example"] end # @return [Map<String, Example>, nil] def examples self["examples"] end # @return [Map<String, Encoding>] def encoding self["encoding"] end end end end
Version data entries
11 entries across 11 versions & 2 rubygems