Sha256: da6569f7b88246d588ae346fa3f8ed1105490c97b42f1c79bda6fbfc83fda85f

Contents?: true

Size: 404 Bytes

Versions: 9

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require 'r2-oas/plugins/schema/v3/object/hookable_base_object'

module R2OAS
  module Schema
    module V3
      class ExternalDocumentObject < R2OAS::Plugins::Schema::V3::HookableBaseObject
        def create_doc
          result = {
            'description' => '',
            'url' => ''
          }
          doc.merge!(result)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
r2-oas-0.3.4 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.3.3 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.3.2 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.3.1 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.3.0 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.2.0 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.1.3 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.1.2 lib/r2-oas/schema/v3/object/external_document_object.rb
r2-oas-0.1.0 lib/r2-oas/schema/v3/object/external_document_object.rb