Sha256: 29f0cef8cd209aaa0426eb418a77cc32ddf30b36681f9686095322c6ed3e699c
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Yori module Schema module V3 # ExternalDocumentation: Allows referencing an external resource for extended documentation. # @description: A short description of the target documentation. CommonMark syntax MAY be used for rich text representation. # @url: REQUIRED. The URL for the target documentation. Value MUST be in the format of a URL. class ExternalDocumentation < Yori::SchemaBase fields :description, :url def validate! validate_require_fields!('url') end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yori-0.1.2 | lib/yori/schema/v3/external_documentation.rb |
yori-0.1.1 | lib/yori/schema/v3/external_documentation.rb |
yori-0.1.0 | lib/yori/schema/v3/external_documentation.rb |