Sha256: f20320523d71fd8014fa8c4398aa81471295e637aa80a074aa02c69e5d02b403

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

Stored size: 326 Bytes

Contents

module SinglePropertyMapping
  class GrapeEntity < Grape::Entity
    expose :title, documentation: {type: "String", desc: "Status update text"}
  end

  class RoarRepresenter
    include Roar::Representer::JSON
    extend SwaggerRoar

    property :title, documentation: {type: "String", desc: "Status update text"}
  end
end

Version data entries

10 entries across 6 versions & 1 rubygems

Version Path
swagger_roar-0.0.1.pre.alpha.pre.13 spec/sample_mappings/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.12 spec/sample_mappings/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.11 spec/sample_entities/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.11 spec/sample_mappings/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.10 spec/sample_entities/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.10 spec/sample_mappings/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.9 spec/sample_entities/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.9 spec/sample_mappings/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.8 spec/sample_entities/single_propery_mapping.rb
swagger_roar-0.0.1.pre.alpha.pre.8 spec/sample_mappings/single_propery_mapping.rb