Sha256: 615610986962382b97e7cc6359da129ddaea0d82c05efc37e6d784f7b729994f

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

# frozen_string_literal: true
module Schema
  module Api
    module V1
      module Types
        module Apress
          module Api
            class Link < ::Apress::Api::Swagger::Schema
              swagger_schema name.to_sym do
                key :required, [:href]
                key :description, 'A representation of a link object'

                property :href do
                  key :type, :string
                  key :description, 'A string containing the link’s URL'
                  key :example, 'https://www.example.com/api/v1/review_comments'
                end

                property :meta do
                  key :type, :object
                  key :description, 'A meta object containing non-standard meta-information about the link'
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-api-1.24.2 app/docs/schema/api/v1/types/apress/api/link.rb