forked from zakame/swagger2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
297 lines (230 loc) · 9.5 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
Revision history for perl distribution Swagger2
0.66 2015-12-29T11:52:06+0100
- Will not add non-existing input keys to $args #52
Contributor: Scott Wiersdorf
- Use $c->match instead of $c->stash to get placeholder data
- Add "From" to list of ignored words in SKIP_OP_RE #54
- Allow more complex method name detection from operationId #55
- Skipping editor test on Win32 #56
- Boolean in headers will be the strings "true" and "false" #58
0.65 2015-12-03T12:51:51+0100
- Swagger2::Client will generate both camel- and snake case methods
- Swagger2::Client pass $err as a string to callback
- Swagger2::Editor can save specification back to disk on POST
0.64 2015-11-28T08:18:45+0100
- YAML::Tiny is no longer supported by JSON::Validator
- Bump JSON::Validator dependency to 0.63
0.63 2015-11-19T09:22:44+0100
- Add validation of output headers, fixes #41
- Add support for "readOnly" in object properties #49
0.62 2015-11-04T12:42:32+0000
- Trying to authorise release
0.61 2015-11-03T20:22:55+0000
- Fix handling of empty collectionFormat value
- Fix handling of arrays in request body
- Add validation for 204 No Content response
0.60 2015-10-14T23:25:14+0200
- Fix pass on $app to WebSocket controller
- Fix support for "collectionFormat" for both "parameters" and "items"
- Add support for "collectionFormat" "multi"
0.59 2015-10-11T13:22:31+0200
- Fix validating required body
- Add resource to download full API spec
- Add before_render hook to make sure we reply with JSON
- Add EXPERIMENTAL dispatch_to_swagger()
0.58 2015-10-06T11:36:29+0200
- Add support for using operationId instead of x-mojo-controller #36 #37
- Add "swagger_route_added" event #27
- Remove "valid" from standard error structure since it was redundant
- Documented how to include http://git.io/vcKD4
0.57 2015-09-30T11:48:22+0200
- Require JSON::Validator 0.56 for YAML validation
- Add support for passing "coerce" to M::P::Swagger2::register()
0.56 2015-09-29T20:23:07+0200
- Add Mojolicious::Plugin::Swagger2 will validate spec on load
0.55 2015-09-27T16:53:08+0200
- Split Mojolicious::Plugin::Swagger2 into guides
- Remove EXPERIMENTAL from "x-mojo-around-action"
0.54 2015-09-27T13:37:06+0200
- Compatible with JSON::Validator 0.54
- Compatible with Mojolicious 6.22
- Rename index.html.ep to list.html.ep in blog example #28
Contributor: Stephan Jauernick
- Paths are sorted from the most specific to least specific #35
Contributor: Olli-Antti Kivilahti
0.53 2015-09-13T15:55:54+0200
- Add EXPERIMENTAL naming of swagger routes #27
- Add "swagger_operation_spec" to route defaults #30
- Allow x-mojo-around-action to be inherited #30
- Allow x-mojo-controller to be inherited
- Swagger2::SchemaValidator is back because JSON::Validator cannot be Swagger specific
0.52 2015-09-13T10:53:14+0200
- Fix validate(): Need to expand, as well as depend on fixes in JSON::Validator
- Will also log the operationId not implemented
- Deprecated tree() in favor of api_spec()
- Deprecated specification()
0.51 2015-09-03T12:22:20+0200
- Fix dumper() in Command::swagger2
- Add /editor to example blog application
- Add slides for YAPC::EU 2015 t/blog/2015-yapc-eu-slides.pdf
0.50 2015-08-24T16:28:42+0200
- Should not use Swagger2::SchemaValidator #25
0.49 2015-08-23T15:16:09+0200
- Remove naming or routes to fix unique problem #23
0.48 2015-08-23T15:09:58+0200
- Core validation functionality is moved to JSON::Validator #25
0.47 2015-08-11T18:16:54+0200
- Add "swagger" as default stash() value
0.46 2015-08-11T16:35:04+0200
- Add support for giving an Swagger2 object to the plugin
- Add support for "collectionFormat" (PARTIAL) #17
- Deprecated passing "controller" as argument to plugin
- Remove warning about helpers defined twice #21
0.45 2015-08-11T14:32:05+0200
- Add support for x-mojo-around-action (EXPERIMENTAL)
0.44 2015-08-10T23:13:15+0200
- Updated schema.json
https://twitter.com/SwaggerApi/status/627128354827862016
0.43 2015-07-14T17:36:07+0200
- Fix loading swagger spec from editor on Windows
0.42 2015-07-11T22:02:27+0200
- Fix parsing formData
- Add support for no content in response
0.41 2015-07-11T12:25:55+0200
- Fix loading swagger spec from editor on Windows (failed)
- Bump Mojolicous requirement to 6.00
0.40 2015-07-08T10:47:39+0200
- Fix "&Digest::MD5::md5_hex function called with reference argument"
0.39 2015-07-08T10:33:02+0200
- Allow negative integers in query string
0.38 2015-07-07T09:48:13+0200
- Will use "basePath" in root API route
- Swagger2::Editor can load specifications over HTTP
0.37 2015-07-06T23:27:17+0200
- Bundle http://json-schema.org/draft-04/schema
- Bundle http://swagger.io/v2/schema.json
0.36 2015-07-06T21:07:30+0200
- Remove EXPERIMENTAL from main Swagger2 module
- Fix POST JSON data with Swagger2::Client
- Updated swagger2 schema.json: Allow empty arrays for parameters
- Add example blog app
0.35 2015-06-24T08:17:43+0200
- Add "mojo swagger2 client" command
- Add EXPERIMENTAL "coerce" attribute to Swagger2::SchemaValidator
0.34 2015-06-22T10:13:44+0200
- Change order of YAML modules
0.33 2015-06-19T22:04:15+0200
- Add Swagger2::Client #8
- Fixed Mojolicious::Plugin::Swagger2 can use default values from schema #18
- Started deprecating "controller" as plugin config
0.32 2015-06-17T15:34:32+0200
- Allowing {n,no,false,off} as boolean false, #15
0.31 2015-05-13T12:42:39+0200
- Change required Mojolicious verision to 5.54 #14
0.30 2015-04-21T20:33:43+0200
- Fix failing test with YAML 1.15 #12
0.29 2015-04-09T09:52:40Z
- Fix _schema_to_string_dispatch() can only be called with reference
- Add support for raw text/binary data #6
- Add POD rendering of anyOf, allOf and oneOf #7 Contributor: Julian
Maurice
0.28 2015-03-01T18:02:20Z
- Allow setting specification_file when constructing Swagger2::Editor
- Mojolicious::Routes::Route::bridge is DEPRECATED
0.27 2015-01-22T19:52:37Z
- Fix validating "required" on a property
- Fix validating output
- Fix "path" in errors response when posting JSON or form data
0.26 2015-01-21T14:05:44Z
- Fix validating body and form data
- Add support for custom placeholder types
0.25 2015-01-20T12:26:23Z
- Fix rendering "not implemented"
- Fix parsing true/false in URL
- Fix validating against empty rule set
- Fix validating against "body"
- Fix rendering "body" parameters in POD #5
- Documented custom route for Swagger2 Mojolicious plugin
0.24 2015-01-19T14:05:08Z
- Add support for x-mojo-controller in swagger spec
- HTTP method is not used in method name looked any more
0.23 2015-01-12T09:42:19Z
- Fix scrolling to the right position after rendering POD
- Fix loading ace.js from relative url
- Will include description in POD, instead of just "required"
- Remove editor shortcut CTRL+L
- Add editor shortcut CTRL+F (find)
- Can load API from same domain, using "#/path/to/api.json" fragment
0.22 2015-01-09T19:37:46Z
- Allow "number" type when generating POD
- Editor will also render "Table of contents"
0.21 2015-01-05T12:26:46Z
- Fix order of headings in generated POD
- Fix response codes are rendered with "=head4"
- Made text in editor easier to read
0.20 2015-01-03T17:11:06Z
- Fix loading $SWAGGER_API_FILE on Windows in Swagger2::Editor #4
Contributor: Andreas Koenig
0.19 2015-01-03T15:16:15Z
- Move editor code from Mojolicious::Command::swagger2 to Swagger2::Editor
0.18 2015-01-03T14:16:31Z
- Fix bodytest.t: YAML is not a required dependency
0.17 2015-01-03T10:30:29Z
- Fix failing Windows test where the Mojo::URL path part is invalid
0.16 2015-01-02T12:44:33Z
- Tried to fix failing Windows test where c:\path\to\spec is converted
into a URL with scheme "c", #4
0.15 2014-12-19T13:26:24Z
- Fix parse() will set tree() attribute
- Allow editor to start without file
0.14 2014-12-18T16:06:02Z
- Add both "summary" and "description" to POD
- Add print styling for editor
- Can resize editor area
- Fix detecting yaml/json mode in editor
0.13 2014-12-18T14:06:26Z
- Fix "not" logic in SchemaValidator
0.12 2014-12-16T11:30:34Z
- Add missing Swagger2::POD::_schema_boolean_to_string() method
- Add Swagger2::parse() method
- Add "mojo swagger2 edit" command
- Fix printing "Resource URL" when generating POD
- Fix parameter references
- Fix expanding bare $ref and $ref inside refs
0.11 2014-12-15T09:29:27Z
- Add "mojo swagger2 pod" command
- Add "mojo swagger2 perldoc" command
- Add "mojo swagger2 validate" command
- Change POD output to follow standard formatting
0.10 2014-12-15T07:27:51Z
- Disable "int64" format test if Perl does not support 64 bit
0.09 2014-12-13T12:46:39Z
- Fix adding parameter to route #1
- Fix "Resource URL" in generated POD
- Add "Type" to "Parameters" POD table
0.08 2014-12-11T11:08:05Z
- Change "floats" and "double" formats are not tested
- Add support for "byte" format
0.07 2014-12-10T14:58:15Z
- Fix test for negative integers
- Add more formats: date, double, float, int32 and int64
0.06 2014-12-10T12:19:40Z
- Fix t/jv-formats.t: Label not found for "last SKIP"
0.05 2014-12-09T22:01:31Z
- Fix "Not an ARRAY reference at lib/Swagger2.pm line 356."
0.04 2014-12-09T21:02:43Z
- Add "formats" to Swagger2::SchemaValidator
0.03 2014-12-09T15:36:04Z
- Add Swagger2::validate()
- Add Swagger 2.0 schema
- Fix circular $ref when expanding a document
- Rewrote Swagger2::SchemaValidator to support draft 4
0.02 2014-12-05T10:01:34Z
- Add Swagger2::SchemaValidator
- Add Swagger2::expand()
- Add Mojolicious::Plugin::Swagger2
0.01 2014-12-04T14:01:27Z
- Add load()
- Add pod() and Swagger2::POD
- Add to_string($format)
- Started project