Sha256: 52c252878ed72769021117714463242e4990f59e3a9ec3652e64079e9617522d

Contents?: true

Size: 732 Bytes

Versions: 1

Compression:

Stored size: 732 Bytes

Contents

# frozen_string_literal: true
module Schema
  module Api
    module V1
      module Types
        module Apress
          module Api
            class Links < ::Apress::Api::Swagger::Schema
              swagger_schema name.to_sym do
                key :description, 'A representation of a links object (http://jsonapi.org/format/#document-links)'
                key :type, :object
                key :additionalProperties, {
                      oneOf: [
                        {'type': 'string'},
                        {'$ref' => '#/definitions/Schema::Api::V1::Types::Apress::Api::Link'}
                      ]
                    }
              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/links.rb