nabbar/SwaggerValidator-PHP

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
# Version 1.0.0 - 2016-07-30
      - Initial Version
### patch #1 :
      - Fix Code Climate + minor bug
### patch #2 : 
      - Fix Packagist Composer file + minor bug
### patch #3 : 
      - Fix major issue with json_encode of a swagger object
      - Fix major issue with cache managment
      - Fix other minor issue
      - Fix cache managment 
      - Add Interface for Context class to help override it
### patch #4:
      - Fix bug with unit test and hashed value in test document generated by json_encode
      - Fix some compatibilities error with PHP 5.3
      - Fix a forget check in the primitive data type (size : minimum, exclusiveMinimum, minLength, ...)
      - Fix bug with unit test and hashed value in test document generated by json_encode
      - Fix some compatibilities error with PHP 5.3
      - Fix a forget check in the primitive data type (size : minimum, exclusiveMinimum, minLength, ...)
      - Fix a forget check if the mini size is not set or equal to zero and empty data, then skip other test

# Version 1.1.0 - 2016-08-07 :
      - Fix the validating format value integer/number/boolean
      - Fix validation string format binary, password
      - Fix getModel from format for string
      - Fix PHP 5.3 compatibility
      - Add random value for getModel Primitives Data Type
      - Add Coverage calculation & CodeClimate report in travis build run
      - Add Sandbox feature : keep validated params and drop global magic variable

# Version 1.2.0 - 2016-08-21 :
      - Refactor FS Structure
      - Refactor autoloader to PSR 4
      - Fix error in overriding classes
      - Fix minor bug

# Version 1.2.1 - 2016-09-05 :
      - 4ed9b0a Fix major bug in cleaning working reference from all reference 
      - 4ed9b0a Refactor generic method for parsing generic items (parameters, responses, ...) 
      - 4ed9b0a Add missing key as constant in FactorySwagger (keys as reserved in swagger definition) 
      - 4ed9b0a Fix error on identify local file or remote url in reference file (used indeed for swagger main file) 
      - 4ed9b0a Refactor log method for reference operation Fix minor bug
      - 919da48 Update README.md

# Version 1.2.2 - 2016-09-10 :
      - 9b22172 Fix Build script
      - 6c4065b Add Build Script
      - b7e2e0d Fix timeout error in travais run test
      - ba01238 Replace simple phpunit test + coverge by only coverage test for build test
      - 9a28eff Fix error of using constant not defined in PHP 5.3
      - b6f7010 Add test for false value / request 
      - b6f7010 Fix error found following test Add type validation in exception resturn 
      - b6f7010 Fix empty exception message when init exception

# Version 1.2.3 - 2016-09-11 :
      - e3bdd93 Fix minor bug
      - 50de5b8 Add collectionFormat in array type for read query params 
      - 50de5b8 Add collectionFormat managment in model constructor 
      - 50de5b8 Add min/max items randamize for model creator 
      - 50de5b8 Refactoring log message as debug, validation error and exception to add option for disabled it 
      - 50de5b8 Refactoring message in validation 
      - 50de5b8 Expand test for collection format as array
      - 2069990 Add response test in false test

# Version 1.3.0 - 2016-10-17 :
      - f0e3169 Update composer version
      - a37953a Replace rand() by random_int (or his equal function) for best practice
      - 26d9358 Refactor Context : log / exception with problem if trying to override static
      - a3b2fc9 Change serialize to var_export function

# Version 1.3.1 - 2017-04-24 : 
      - 593c7d2 Fix PHPUnit release to still be compatible to the full scope
      - 94eba2c Fix still resident old github repos url
      - deca968 Fix Exception::init call
      - deca968 Add implicit object in arrayItems Schema if propeties key is find and type=object not find

# Version 1.3.2 - 2017-04-24 :
      - ed1981c Fix Issue #20 : error in some definition class, error in some array to string convertion for log, error with basepath = / and paths start mandatory with / 
      - ed1981c Fix Issue #18 : with some missing refactoring method in last releases 
      - ed1981c Extand the implicit type=object understanding at last when json part is an object with propertie key and no type key