swagger_roar 0.0.1.pre.alpha.pre.11 → 0.0.1.pre.alpha.pre.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- metadata +1 -3
- data/spec/sample_entities/single_propery_mapping.rb +0 -12
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTYxZjQ4ZmU3ZDQ0MzhjZjEwYjUxMjI4MGFmYWI1ZmIxMWFkMDc0NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njg2ZjllODBmMzQ1OGViY2Y4NzJhMzRiOTVkM2RkMGI5Y2ViMTg4Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzE2OTQ5OGI1NmQzZWFmYzQ0NmJlYTg4NzMwMjQwYjIyOTkyOGE1YThhMzJl
|
10
|
+
NThlMTdkZjYxMzU2YzhmYTAzMzk0MWY2NjUxN2ZkMWEzZWQ0NzBiM2I2ZThj
|
11
|
+
NjI1MTQzNzkwMzNlODkxNjgzNTk0MGEzMDEyNDBlY2UxMzU3MjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDBkZDYzOTgxZmEyMmI3MzEyZjU2MTc2NTY2ZDAwOTQ3YzhjZjFlYzJmZjIz
|
14
|
+
MTU2YThhMzRmZTFiNzA3YmM1Njk4OGRjZDhmMGE1NzgyN2YxNjBlNTU1ODkw
|
15
|
+
ODU2N2ZhZDYxNjhiNTZkN2VkNzU3MDBhYWUxMjA2ODU5YTJlN2U=
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagger_roar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.alpha.pre.
|
4
|
+
version: 0.0.1.pre.alpha.pre.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yura Taras
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- Rakefile
|
112
112
|
- lib/swagger_roar.rb
|
113
113
|
- lib/swagger_roar/version.rb
|
114
|
-
- spec/sample_entities/single_propery_mapping.rb
|
115
114
|
- spec/sample_mappings.rb
|
116
115
|
- spec/sample_mappings/single_propery_mapping.rb
|
117
116
|
- spec/spec_helper.rb
|
@@ -143,7 +142,6 @@ signing_key:
|
|
143
142
|
specification_version: 4
|
144
143
|
summary: Generate swagger model from roar specification
|
145
144
|
test_files:
|
146
|
-
- spec/sample_entities/single_propery_mapping.rb
|
147
145
|
- spec/sample_mappings.rb
|
148
146
|
- spec/sample_mappings/single_propery_mapping.rb
|
149
147
|
- spec/spec_helper.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module SinglePropertyMapping
|
2
|
-
class GrapeEntity < Grape::Entity
|
3
|
-
expose :title, documentation: {type: "String", desc: "Status update text"}
|
4
|
-
end
|
5
|
-
|
6
|
-
class RoarRepresenter
|
7
|
-
include Roar::Representer::JSON
|
8
|
-
extend SwaggerRoar
|
9
|
-
|
10
|
-
property :title, documentation: {type: "String", desc: "Status update text"}
|
11
|
-
end
|
12
|
-
end
|