Sha256: c1df198a9b4f2065aaf18733afcf23b9842833889d7666d2eaa0b8f976d3b592

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

class ReeSwagger::EndpointDto
  include ReeDto::EntityDSL
  include Ree::LinkDSL

  link 'ree_swagger/dto/error_dto', -> { ErrorDto }

  properties(
    method: Or[:get, :post, :put, :patch, :delete],
    path: String,
    caster: Nilor[ReeMapper::Mapper],
    serializer: Nilor[ReeMapper::Mapper],
    description: Nilor[String],
    response_status: Integer,
    response_description: Nilor[String],
    errors: ArrayOf[ErrorDto]
  )
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ree_lib-1.0.6 lib/ree_lib/packages/ree_swagger/package/ree_swagger/dto/endpoint_dto.rb
ree_lib-1.0.5 lib/ree_lib/packages/ree_swagger/package/ree_swagger/dto/endpoint_dto.rb
ree_lib-1.0.4 lib/ree_lib/packages/ree_swagger/package/ree_swagger/dto/endpoint_dto.rb
ree_lib-1.0.3 lib/ree_lib/packages/ree_swagger/package/ree_swagger/dto/endpoint_dto.rb
ree_lib-1.0.2 lib/ree_lib/packages/ree_swagger/package/ree_swagger/dto/endpoint_dto.rb