[libswagger2-perl] branch master updated (06a4d35 -> 2c27ad8)
Lucas Kanashiro
kanashiro.duarte at gmail.com
Sat Oct 31 18:43:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a change to branch master
in repository libswagger2-perl.
from 06a4d35 releasing package libswagger2-perl version 0.59-1
adds b6c2c1d Initialized
adds 5dd09ef Add petstore.json and .yaml
adds 5b73c23 Add load() to Swagger2
adds 50178dc Add pod()
adds 8e52b27 Add to_string($format)
adds 02a3767 Add test for yaml
adds b37e2af Improved API and error handling
adds e28c8a9 Tidy up code
adds 710ca90 Improved content detection for load()
adds f6f377c Add Makefile.PL, README and dependencies
adds bb15163 Improved documentation
adds 69d2478 Released version 0.01
adds c504eb9 Fetched http://api.metacpan.org/source/TOBYINK/JSON-Schema-0.016/lib/JSON/Schema/Helper.pm
adds 9175cec Modified Swagger2::SchemaValidator
adds 8f2bd52 Add expand()
adds 716adf4 Keeping schema "properties" on expand()
adds b551069 Add Mojolicious::Plugin::Swagger2 with output validation
adds 827b7a1 Add note about both yaml and json
adds 735c541 Refactored
adds 70d373c Add input validation to Mojolicious::Plugin::Swagger2
adds 4ea2703 Removed limitations in Swagger2 plugin
adds 9f7ddb7 Will skip failing tests on win32
adds 2bb09c6 Released version 0.02
adds 0072472 Improved documentation
adds 97199d6 Change SWAGGER2_YAML_MODULE environment variable
adds 3b05a04 Add Swagger 2.0 schema
adds 34fc1a7 Rewrote Swagger2::SchemaValidator
adds 76063e3 Add cache for http://json-schema.org/draft-04/schema
adds 9a336b1 Add Swagger2::validate() method
adds a561909 Fix expand()
adds e2ec9a9 Fix "required" in Swagger2::POD
adds f66d712 Fix SchemaValidator: required and properties in items
adds 17bf420 Mojolicious::Plugin::Swagger2 use new validation API
adds 05e04bd Released version 0.03
adds 433505f _validate_required() is not in use
adds 3f6f016 autovivification module is not required
adds f1b9dbb Fix POD
adds 901c1c1 Add "formats" to Swagger2::SchemaValidator
adds 089a7cb Released version 0.04
adds 55e9991 Released version 0.05
adds 747640a Fix: Label not found for "last SKIP"
adds 0eceb7f Fix: Label not found for "last SKIP"
adds 231d179 Released version 0.06
adds 42c4ef0 Fix test for negative integers
adds c25774e Add more formats: date, double, float, int32 and int64
adds 243ae54 Released version 0.07
adds 4b6b18a Change "floats" and "double" formats are not tested.
adds b87fb93 Add support for "byte" format
adds 8735ac7 Released version 0.08
adds 0927848 Fix load($file) on windows
adds 50815ec Disable "int64" format test if Perl does not support 64 bit
adds bed8e99 Add .travis.yml
adds b6bcea4 Fix Undefined subroutine &Swagger2::__Missing__::Load called
adds 7e4806a Support '/path/{parameter}' paths
adds eec1bc8 Improved path parameter regex #1
adds ddd8eef Fix "Resource URL" in generated POD
adds a3ec919 Add "Type" to "Parameters" POD table
adds c11d854 Released version 0.09
adds 8ba358d Disable "int64" format test if Perl does not support 64 bit
adds 709a683 Fix load()ing files on windows
adds c59c27a Released version 0.10
adds 0f091f0 Add "mojo swagger2" command
adds 0c68e35 Change POD output to follow standard formatting
adds 0dce261 pod
adds ba0ef2c Add "mojo swagger2 validate" command
adds 2ef87dc Released version 0.11
adds eafaee8 Add missing Swagger2::POD::_schema_boolean_to_string() method
adds c216134 Fix printing "Resource URL" when generating POD
adds aefa2fe Fix parameters references
adds 0b21124 Add Swagger2::parse()
adds 11a96fe Add ace javascript editor for "mojo swagger2 edit" command
adds ea4a602 Add "mojo swagger2 edit" command
adds 82d6cd7 Fix expanding bare $refs
adds 6f49349 Test editor
adds 011c00f Editor only allocate one localStorage key
adds 044f2dd Better error message in editor
adds 2cc0da8 Refactored parse()
adds 08c6e7b Fix failing windows test
adds 4f2863f Fix expanding $ref inside $ref
adds d802646 "not" logic is not working
adds acd8e33 Better usage for "mojo swagger2 edit"
adds f38dbb5 Default to YAML. Detect JSON.
adds f723d03 Do not print Parameters table on empty parameters list.
adds 9fb4190 Released version 0.12
adds 4e0ecc2 Fix "not" logic in SchemaValidator
adds 601fb59 Released version 0.13
adds 42a7361 Add both "summary" and "description" to POD
adds 21d8dd9 Reordered VERSION and DESCRIPTION
adds 76a704e Fix detecting yaml/json mode in editor
adds 2775a40 Add print styling for editor
adds f1b148d Can resize editor
adds d54e882 Released version 0.14
adds 4339ccb Fix parse() will set tree() attribute
adds fe8c0fe Allow starting editor without file
adds 03737d5 Allow starting editor without file
adds 6cf2328 Need to do ace.resize() as well
adds 58d66ee Released version 0.15
adds b6264d3 Fix failing windows test #4
adds d16a4c1 Released version 0.16
adds fd6744c Don't clobber `in` and `name` fields in body/form parameters
adds beadccf Copy to parameters to `$p`, instead of aliasing to it
adds 51255b0 Add Test::Warnings
adds b1f220a Add test for body parameters
adds 6077700 https://github.com/jhthorsen/swagger2/pull/3#issuecomment-67153095
adds 74e45ac Fix failing Windows test where the Mojo::URL path part is invalid
adds e15d2ae Released version 0.17
adds f010a3c Fix bodytest.t: YAML is not a required dependency
adds b720dbc Released version 0.18
adds a1ebbcd Move public editor files
adds 2d1b4ec Move editor code from Mojolicious::Command::swagger2 to Swagger2::Editor
adds 6b22769 Released version 0.19
adds 8dece78 Can load $SWAGGER_API_FILE on Windows in Swagger2::Editor, fixes #4
adds 0475db5 Released version 0.20
adds a00bd03 Fix order of headings in generated POD
adds 7837c0a Made text in editor easier to read
adds 9ac2d4d Released version 0.21
adds 578df5b Allow "number" type when generating POD
adds 31e983d Editor will also render "Table of contents"
adds 6845fc5 Fix scrolling to #section in editor
adds f3532a5 Forgot to update editor.t
adds 0ac9d38 Change default href to #toc
adds 9c76394 Released version 0.22
adds 4fe7811 Fix scrolling to the right position after rendering POD
adds 022237c Will include description in POD, instead of just "required"
adds 0d7231a Remove shortcut CTRL+L. Add shortcut CTRL+F
adds ba48217 Fix loading ace.js from relative url
adds a7eff3e Can load API from same domain, using "#/path/to/api.json" fragment
adds 5076b28 Released version 0.23
adds 06dbc19 Add support for x-mojo-controller in swagger spec
adds 9f1e442 HTTP method is not used in method name looked any more
adds 7ae21f1 Released version 0.24
adds def2dab Documented custom route for Swagger2 Mojolicious plugin
adds 0ab4fad Fix rendering "not implemented"
adds 674b8e0 Fix parsing true/false in URL
adds a1a8243 Cleaned up definition files
adds c801fa9 Fix validating against empty rule set
adds d7d3b2c Fix validating against "body", #3
adds 6385ea9 Rendering "body" parameters in POD, fixes #5
adds aba6ddf Released version 0.25
adds 3e27562 Fix validating body and form data
adds 2af3ba3 Add support for custom placeholder types
adds 9f278c0 Released version 0.26
adds fb3e68c Fix validation "required" on a property
adds afebcb5 Fix "path" in errors response when posting JSON or form data
adds 1e47c1e Fix validating output
adds 52e6714 Need to default to "object" when type is not defined, but has "properties"
adds f8d4c1f Released version 0.27
adds fd9f63d Will not construct Swagger2::Editor object when MOJO_APP_LOADER
adds d0b8418 Mojolicious::Routes::Route::bridge is DEPRECATED
adds a9b71f8 Allow setting specification_file when constructing Swagger2::Editor
adds b2c025a Compatible with Mojolicious 6.0
adds ec269b4 Released version 0.28
adds eef6a4f Fix _schema_to_string_dispatch() can only be called with reference
adds 91aadfb Add POD rendering of anyOf, allOf and oneOf, fixes #7
adds 7719a86 Add support for raw text/binary data, fixes #6
adds 702a953 Released version 0.29
adds 025f684 Update basic repo files
adds cfb3cd5 Fix failing test with YAML 1.15, closes #12
adds 1fc846a Test support for "type:[...]" as an alternative to "anyOf" #10
adds 2359144 Released version 0.30
adds 566456a Change required Mojolicious verision to 5.54, closes #14
adds dcdb807 Released version 0.31
adds bad88f3 Allowing {n,no,false,off} as boolean false, fixes #15
adds c12630b Fix warning about undefined value, closes #16
adds 11b3288 Released version 0.32
adds e07a781 Add "x-mojo-controller": "t::Api" to all example files
adds 13492a2 Fixed Mojolicious::Plugin::Swagger2 can use default values from schema, closes #18
adds 53f6f47 Started deprecating "controller" as plugin config
adds 5126c4e Add Swagger2::Client #8
adds 8f6f56e Released version 0.33
adds ff5d3fa Will test all YAML modules
adds 88cb485 Released version 0.34
adds 9278e8f Add "mojo swagger2 client" command
adds 71096ec Add experimental support for SWAGGER_COERCE_VALUES
adds e3dfa7b Add EXPERIMENTAL "coerce" attribute to Swagger2::SchemaValidator
adds 5f02445 Fix getting error message from Swagger2::Client
adds 60df37c Fix Can't use an undefined value as a symbol reference at Pod/Text.pm line 267, <DATA> line 2231.
adds 69ce009 Forgot to use Mojo::UserAgent
adds e4510f2 Released version 0.35
adds 28d9ecf Updated swagger2 schema.json: Allow empty arrays for parameters
adds d8e714e Fix POST JSON data with Swagger2::Client
adds d791577 Fix POST JSON data with Swagger2::Client
adds 4b51573 Add tests for Swagger2::Client with placeholders in path
adds 75eedbb Will use croak() in Swagger2::Client
adds aab609f Fix path to error location
adds c886b31 Copy/paste blog example from git at github.com:kraih/mojo-pg.git/417eae0395
adds 321894d Add Swagger API to blog example
adds 656246d Remove EXPERIMENTAL from main Swagger2 module
adds b7bcac6 Mentioned code generators
adds e3e03df Released version 0.36
adds 488f1f3 Bundled http://json-schema.org/draft-04/schema
adds 6f4ea97 Released version 0.37
adds c3c7c12 Ignoring more cached files
adds e2256af Will use "basePath" in root API route
adds 9e7cdca Avoid making a new cache file each time the tests are run
adds 54b5c42 Will not go through delay on invalid input
adds 7c7777e Improved documentation
adds 16ceb58 Swagger2::Editor can load specifications over HTTP
adds f93b63c Released version 0.38
adds b62f390 Allow negative integers in query string
adds ca41fe3 Released version 0.39
adds c7f3ce5 Fix "&Digest::MD5::md5_hex function called with reference argument"
adds 8b59126 Released version 0.40
adds 529daeb Fix loading swagger spec from editor on Windows
adds 105beb4 Bump Mojolicous requirement to 6.00
adds 1cfbb6f Released version 0.41
adds ea750b1 Fix parsing formData
adds 93eed3d Add test for 201 responses
adds 5d4fc18 Add support for no content
adds 09dc430 Released version 0.42
adds 1307d04 Released version 0.43
adds bd11eb8 Updated schema.json from http://t.co/6sreBBnoKw
adds be1cfe2 Released version 0.44
adds acd827c Add support for x-mojo-around-action (EXPERIMENTAL)
adds 6c2bdee Released version 0.45
adds fba0369 This feature is EXPERIMENTAL and can change without notice.
adds 8afb89a Add support for giving an Swagger2 object to the plugin
adds 2d73380 Deprecated passing "controller" as argument to plugin
adds 9b54f59 Remove warning about helpers defined twice, closes #21
adds 1799f51 Add support for "collectionFormat" (PARTIAL), closes #17
adds 6b1fc1f Released version 0.46
adds 13f5c85 Fixed reference to issue #17 in Changes
adds a8b1f3a Fixed copyright year
adds d0644c2 Add "swagger" as default stash() value
adds 2cbb5b4 Add link to http://thorsen.pm/perl/programming/2015/07/05/mojolicious-swagger2.html
adds ea6f222 Released version 0.47
adds 8774f75 Core validation functionality is moved to JSON::Validator #25
adds 77febc0 Released version 0.48
adds c869637 Remove naming or routes to fix unique problem, closes #23
adds 9104222 Released version 0.49
adds dd32832 Should not use Swagger2::SchemaValidator #25
adds 5053f48 Released version 0.50
adds c425d78 Fix dumper() in client command
adds bd678e5 Change "index" to "list" in blog demo
adds 0fa4626 Add /editor to demo
adds e8f0dd2 Add 2015-yapc-eu-slides.pdf
adds 1aae15b skip methods that look like swagger extension keys
adds c1802b8 skip methods that look like swagger extension keys
adds 95f9b4b Merge pull request #26 from leejo/leejo/skip_x_keys_in_route_creation
adds 4592a82 Merge remote-tracking branch 'origin/master'
adds 3b215d4 Released version 0.51
adds 72b3f27 Will also log the operationId not implemented
adds 5586d6d Updated swagger spec
adds 6f97692 Deprecated "tree" and "specification"
adds 544614a Fix validate(): Need to expand, as well as depend on fixes in JSON::Validator
adds 0befdd1 Released version 0.52
adds de3d1e7 Allow x-mojo-around-action and x-mojo-controller to be inherited
adds 530bbd4 Swagger2::SchemaValidator is back because JSON::Validator cannot be Swagger specific
adds 724a422 Add "swagger_operation_spec" to route defaults, fixes #30
adds 793a314 Add EXPERIMENTAL naming of swagger routes, fixes #27
adds 6cd04aa Released version 0.53
adds b13f235 Blog App: Rename index.html.ep to list.html.ep to be consistent with the code.
adds b84acdf Merge pull request #28 from stephan48/test-blog-app-template-list-fix-01
adds a45ad02 Add EXPERIMENTAL support for lite apps
adds 90a9b7b Revert "Add EXPERIMENTAL support for lite apps"
adds 48403d4 Converted YAML examples to JSON
adds 7f9807f Add Path Objects to Mojolicious in lenghtwise order from shortest to longest path.
adds 9dfe2bf Merge pull request #35 from KohaSuomi/master
adds 22b6e37 Fix invalid formdata.json
adds a77325b Resolved schemas in JSON::Validator are cached
adds a4d349e Compatible with Mojolicious 6.22
adds a627f93 Released version 0.54
adds 1829069 Will build JSON::Validator from master on github
adds 16093a8 Split Mojolicious::Plugin::Swagger2 into guides
adds 77f8507 Add Swagger2::Guides::Render
adds 048c42c Released version 0.55
adds c9954eb Add Mojolicious::Plugin::Swagger2 will validate spec on load
adds 31f661d Released version 0.56
adds b9158dc JSON::Validator 0.56 can validate YAML booleans, closes #39
adds 1c80ea9 Add support for passing "coerce" to register()
adds f979f63 Released version 0.57
adds 4183b10 Remove "valid" from standard error structure since it was redundant
adds 818d5b6 Documented how to include http://git.io/vcKD4
adds 56fff20 Add support for using operationId instead of x-mojo-controller #36 #37
adds b6a2177 Fix typo in Tutorial.pod
adds a7f8fa6 Cancel out By|For|In|Of|To|With in operationId #36
adds edca2f2 some more explanations
adds 1d09c27 Merge pull request #40 from kberov/master
adds 5fe7c44 Add TODO test for headers #41
adds 372f1b5 Better documentation for operationId and parsing rules #36
adds 783726d Add "listUsers" example and fix "searchForPets" example #36
adds 0d1ed5a Released version 0.58
adds d731690 Rename variable config => op_spec
adds a0aebea Add "basePath" resource can be used to download expanded API spec
adds fca259d Can call Swagger operations over WebSocket using dispatch_to_swagger()
adds f78798d Need to replace all \W
adds a5c9473 Trying to keep the same spec path for all perl versions
adds cc328cf Cannnot seem to create the same md5 sum on Perl 5.16
adds 01c03cf Add before_render hook to make sure we reply with JSON
adds 141a729 Fix validating required body
adds d8e3681 Released version 0.59
adds 11b3d4b Fix pass on $app to WebSocket controller
adds e770b4c Test for single item array in query
adds 26ab075 Merge pull request #44 from mrenvoize/single-item-array
adds c0be866 Fix "collectionFormat" is not part of "items"
adds d5a92b7 Further test case for multi-level arrays
adds 6194acb Merge pull request #46 from mrenvoize/single-item-array
adds 1e21c09 Add support for collectionFormat: multi
adds 91e4682 Fix support for "collectionFormat" for both "parameters" and "items" #46
adds 30932d9 Released version 0.60
adds 474650f Imported Upstream version 0.60
new 6c95e0b Merge tag 'upstream/0.60'
new 00e645f Update debian/changelog
new 0d0cf73 Update version of dependency libjson-validator-perl
new 2c27ad8 Releasing libswagger2-perl version 0.60-1
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
Changes | 5 +++
MANIFEST | 3 +-
META.json | 4 +--
META.yml | 4 +--
Makefile.PL | 2 +-
README | 2 +-
cpanfile | 2 +-
debian/changelog | 8 +++++
debian/control | 4 +--
lib/Mojolicious/Plugin/Swagger2.pm | 36 +++++++++++--------
lib/Swagger2.pm | 4 +--
lib/Swagger2/SchemaValidator.pm | 23 ++++++++++++
t/Api.pm | 10 +++---
t/collection-format.t | 72 ++++++++++++++++++++++++++++++++++++++
t/data/query-as-array.json | 21 -----------
t/query-as-array.t | 14 --------
16 files changed, 147 insertions(+), 67 deletions(-)
create mode 100644 t/collection-format.t
delete mode 100644 t/data/query-as-array.json
delete mode 100644 t/query-as-array.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libswagger2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list