Skip to content

Commit cf97ce7

Browse files
author
Jan Henning Thorsen
committed
Released version 2.12
- Fix HEAD requests #105 - Fix using /servers/0/url as basePath for OpenAPI v3 #110 Note: This could be breaking change - Fix getting basePath when using under #107 - Add support for "nullable" in OpenAPI 3.0 #106 - Improved handling of Accept header in OpenAPI v3 #104 Can now handle wildcards, such as application/* and */*, even though not defined in the specification. - Bump JSON::Validator to 3.06
1 parent 8ec7bad commit cf97ce7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Changes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Revision history for perl distribution Mojolicious-Plugin-OpenAPI
22

3-
2.12 Not Released
3+
2.12 2019-02-14T20:12:16+0100
44
- Fix HEAD requests #105
55
- Fix using /servers/0/url as basePath for OpenAPI v3 #110
66
Note: This could be breaking change

Makefile.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ my %WriteMakefileArgs = (
99
EXE_FILES => [qw()],
1010
BUILD_REQUIRES => {},
1111
TEST_REQUIRES => {'Test::More' => '0.88'},
12-
PREREQ_PM => {'JSON::Validator' => '3.04', 'Mojolicious' => '7.70'},
12+
PREREQ_PM => {'JSON::Validator' => '3.06', 'Mojolicious' => '7.70'},
1313
META_MERGE => {
1414
'dynamic_config' => 0,
1515
'meta-spec' => {version => 2},

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ specification is written in perl, instead of JSON or YAML.
276276

277277
### version\_from\_class
278278

279-
Can be used to overriden `/info/version` in the API specification, from the
279+
Can be used to overridden `/info/version` in the API specification, from the
280280
return value from the `VERSION()` method in `version_from_class`.
281281

282282
This will only have an effect if "version" is "0".

lib/Mojolicious/Plugin/OpenAPI.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use Mojo::JSON;
77
use Mojo::Util;
88
use constant DEBUG => $ENV{MOJO_OPENAPI_DEBUG} || 0;
99

10-
our $VERSION = '2.11';
10+
our $VERSION = '2.12';
1111
my $X_RE = qr{^x-};
1212

1313
has route => sub {undef};

0 commit comments

Comments
 (0)