open_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +15 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +6 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +86 -0
  10. data/Rakefile +6 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/lib/open_api/callback.rb +22 -0
  14. data/lib/open_api/components.rb +35 -0
  15. data/lib/open_api/contact.rb +23 -0
  16. data/lib/open_api/discriminator.rb +40 -0
  17. data/lib/open_api/encoding.rb +26 -0
  18. data/lib/open_api/equatable_as_content.rb +13 -0
  19. data/lib/open_api/example.rb +24 -0
  20. data/lib/open_api/external_documentation.rb +20 -0
  21. data/lib/open_api/header.rb +42 -0
  22. data/lib/open_api/info.rb +39 -0
  23. data/lib/open_api/license.rb +20 -0
  24. data/lib/open_api/link.rb +50 -0
  25. data/lib/open_api/media_type.rb +34 -0
  26. data/lib/open_api/o_auth_flow.rb +26 -0
  27. data/lib/open_api/o_auth_flows.rb +26 -0
  28. data/lib/open_api/operation.rb +58 -0
  29. data/lib/open_api/parameter.rb +52 -0
  30. data/lib/open_api/path_item.rb +42 -0
  31. data/lib/open_api/paths.rb +26 -0
  32. data/lib/open_api/reference.rb +25 -0
  33. data/lib/open_api/request_body.rb +23 -0
  34. data/lib/open_api/response.rb +34 -0
  35. data/lib/open_api/responses.rb +34 -0
  36. data/lib/open_api/security_requirement.rb +20 -0
  37. data/lib/open_api/security_schema.rb +34 -0
  38. data/lib/open_api/serializers/yaml_serializer.rb +17 -0
  39. data/lib/open_api/serializers.rb +6 -0
  40. data/lib/open_api/server.rb +22 -0
  41. data/lib/open_api/server_variable.rb +22 -0
  42. data/lib/open_api/specification.rb +44 -0
  43. data/lib/open_api/tag.rb +24 -0
  44. data/lib/open_api/version.rb +3 -0
  45. data/lib/open_api/xml.rb +26 -0
  46. data/lib/open_api.rb +47 -0
  47. data/open_api.gemspec +30 -0
  48. metadata +174 -0
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: open_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kent Nagata
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: It provides PORO of OpenAPI specification. It only support OpenAPI v3.
98
+ email:
99
+ - ngtknt@me.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".ruby-version"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - lib/open_api.rb
116
+ - lib/open_api/callback.rb
117
+ - lib/open_api/components.rb
118
+ - lib/open_api/contact.rb
119
+ - lib/open_api/discriminator.rb
120
+ - lib/open_api/encoding.rb
121
+ - lib/open_api/equatable_as_content.rb
122
+ - lib/open_api/example.rb
123
+ - lib/open_api/external_documentation.rb
124
+ - lib/open_api/header.rb
125
+ - lib/open_api/info.rb
126
+ - lib/open_api/license.rb
127
+ - lib/open_api/link.rb
128
+ - lib/open_api/media_type.rb
129
+ - lib/open_api/o_auth_flow.rb
130
+ - lib/open_api/o_auth_flows.rb
131
+ - lib/open_api/operation.rb
132
+ - lib/open_api/parameter.rb
133
+ - lib/open_api/path_item.rb
134
+ - lib/open_api/paths.rb
135
+ - lib/open_api/reference.rb
136
+ - lib/open_api/request_body.rb
137
+ - lib/open_api/response.rb
138
+ - lib/open_api/responses.rb
139
+ - lib/open_api/security_requirement.rb
140
+ - lib/open_api/security_schema.rb
141
+ - lib/open_api/serializers.rb
142
+ - lib/open_api/serializers/yaml_serializer.rb
143
+ - lib/open_api/server.rb
144
+ - lib/open_api/server_variable.rb
145
+ - lib/open_api/specification.rb
146
+ - lib/open_api/tag.rb
147
+ - lib/open_api/version.rb
148
+ - lib/open_api/xml.rb
149
+ - open_api.gemspec
150
+ homepage: https://github.com/ngtk/open_api
151
+ licenses:
152
+ - MIT
153
+ metadata: {}
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubyforge_project:
170
+ rubygems_version: 2.7.3
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: Provide PORO of OpenAPI specification
174
+ test_files: []