forked from jhthorsen/mojolicious-plugin-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
187 lines (142 loc) · 5.9 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
Revision history for perl distribution Mojolicious-Plugin-OpenAPI
1.30 2018-06-06T00:20:46+0800
- Fix exception handling in an action, with the security plugin enabled
1.29 2018-06-03T20:32:21+0800
- Fix "No security callback for $name." error object
- Fix "status" icompatibility with Mojolicious 7.82 #78
1.28 2018-04-21T11:03:02+0200
- Add support for Simple Cross-Origin Resource Sharing requests (CORS) #14
- Bumped JSON::Validator version
- Changed placeholders from () to <> to support Mojolicious 7.75 #73
1.27 2018-04-09T09:05:10-0700
- Add EXPERIMENTAL route name for OPTIONS routes #69
- Add Text::Markdown as an optional module for rendering documentation snippets #63
Contributor: Lars Thegler
1.26 2018-03-08T21:15:52+0100
- Fix skipping yaml.t, unless correct version of YAML::XS is available #67
Contributor: Søren Lund
1.25 2018-01-29T10:00:59+0100
- Removed YAML::Syck test #60
- Change register() to return the plugin instance
1.24 2018-01-19T10:37:28+0100
- Require JSON::Validator 2.00 which fixes "enum" bug
1.23 2017-12-25T10:50:28+0100
- Fix setting default values #53 #55
- Can specify schema when loading plugin
1.22 2017-11-19T20:25:16+0100
- Compatible with JSON::Validator 1.06
- Deprecated "reply.openapi" helper
- Moved security handling to separate module
- Started on plugin support #14
1.21 2017-07-24T21:46:37+0200
- "path" is not required in default error document
1.20 2017-07-24T21:41:01+0200
- Add "default_response" parameter to register()
1.19 2017-07-10T22:44:19+0200
- Add support for "security" and "securityDefinitions"
Contributor: Joel Berger
1.18 2017-07-04T09:23:48+0200
- Fix rendering of documentation does not die when "parameters" are under a path
- Fix generating routes with "parameters" under a path #42
- Fix other documentation renderers, when "parameters" under a pth #42
1.17 2017-06-12T20:58:57+0200
- Add support for fetching API spec in route chain
- Add "exception" stash variable on internal server error #38
Contributor: Manuel Mausz
1.16 2017-05-18T11:23:52+0200
- Can override status code in "renderer" function
1.15 2017-05-15T09:15:14+0200
- Fix "renderer" will also be called for internal errors #34 #35
- Removed openapi.not_implemented helper
1.14 2017-05-13T11:55:37+0200
- Fix automatically coercing values #33
Contributor: Nick Logan
- Add openapi.render_spec helper
- Add example for how to use a M::P::Swagger2 powered app with M::P::OpenAPI
- Bump JSON::Validator version
1.13 2017-03-03T00:35:26+0100
- Forgot to bump JSON::Validator version in cpanfile #32
1.12 2017-03-02T23:10:18+0100
- Compatible with JSON::Validator 0.95
1.11 2017-03-01T19:42:58+0100
- Fix adding routes with wildcards after routes without wildcards
- Add fallback to default renderer, unless "openapi" is set in stash
1.10 2017-02-21T15:35:45+0100
- Fix resolve of specification twice #19
- Require JSON::Validator 0.94 #30
1.09 2017-01-30T13:11:52+0000
- Prevent stomping of status in before_render hook
1.08 2017-01-25T17:27:12+0100
- Add EXPERIMENTAL openapi.not_implemented helper
1.07 2016-12-11T11:39:46+0100
- Compatible with JSON::Validator 0.90
1.06 2016-11-18T15:57:26+0100
- Will rewrite basePath in generated spec, relative to base URL
- Documented x-mojo-placeholder #16
1.05 2016-10-26T13:23:38+0200
- Add support for path parameters #11
- Fix typos in tutorial regarding example snippets #13
- Fix default OPTIONS path, when it has placeholders
1.04 2016-10-06T21:39:06+0200
- Fix responding with an empty string #9
- Fix responding with null
1.03 2016-09-27T23:58:41+0200
- Bumped required JSON::Validator version to 0.85 #8
1.02 2016-09-27T09:52:02+0200
- Fix bug for collectionFormat handling in JSON::Validator
- Add support for "version_from_class"
- Add TOC to .html rendering of API
1.01 2016-09-21T16:07:45+0200
- Fix documentation regarding the "reply.openapi" helper #7
1.00 2016-09-04T15:08:56+0200
- Removed EXPERIMENTAL
0.14 2016-08-20T14:04:58+0200
- Fix rendering UTF-8 characters
0.13 2016-08-16T19:54:48+0200
- Removed $c->openapi->invalid_input()
- Add support for rendering specification on OPTIONS #1
0.12 2016-08-10T21:16:54+0200
- Add support for $c->render(openapi => $data);
- Started DEPRECATING $c->reply->openapi()
0.11 2016-08-09T13:35:16+0200
- Add support for retrieving the complete API spec
- Improved tutorial
0.10 2016-08-07T22:16:38+0200
- Add $c->openapi->validate()
- Deprecated $c->openapi->invalid_input()
- Fix validating YAML specifications #3 #4
Contributor: Ilya Rassadin
0.09 2016-08-04T09:30:23+0200
- Add basic support for rendering spec as HTML
- Add check for $ref in the right place in the input specification
Contributor: Lari Taskula
0.08 2016-07-29T14:33:14+0200
- Add check for unique operationId and route names
- All route names will have "spec_route_name." as prefix
0.07 2016-07-26T21:53:56+0200
- Add support for serving binary data
0.06 2016-07-26T18:56:50+0200
- Add support for naming baseUrl (specification) route
- Add openapi.valid_input helper
- Fix loading the plugin twice
0.05 2016-07-26T15:04:25+0200
- Fix "false" must be false and not true
- Make sure 404 is returned as default format and not html
0.04 2016-07-25T15:03:31+0200
- Fix setting default values in JSON::Validator::OpenAPI 0.76
- Fix registering correct HTTP method for action in a class
0.03 2016-07-25T11:25:43+0200
- Add openapi.invalid_input helper
- Add Mojolicious::Plugin::OpenAPI::Guides::Tutorial
- Remove openapi.validate helper
- Remove openapi.input helper
- Will store validated data into $c->validation->output
0.02 2016-06-11T07:32:51-0700
- Improved documentation
- Add support for MOJO_OPENAPI_LOG_LEVEL=error
0.01 2016-06-10T19:34:35-0700
- Add logging of request/response errors
- Add rendering of API spec from base URL
- Exceptions returns structured JSON data instead of HTML
- Making an improved version of Mojolicious::Plugin::Swagger2
- Started project