Sha256: 35b7513ea6f9774ed20ee660bc07f03d3530a7234635a4ef4ad7d12e7347b067

Contents?: true

Size: 702 Bytes

Versions: 4

Compression:

Stored size: 702 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
apress-api-1.24.0 app/docs/schema/api/v1/types/apress/api/links.rb
apress-api-1.23.0 app/docs/schema/api/v1/types/apress/api/links.rb
apress-api-1.22.1 app/docs/schema/api/v1/types/apress/api/links.rb
apress-api-1.22.0 app/docs/schema/api/v1/types/apress/api/links.rb