├── tests ├── tmp │ └── placeholder ├── phartest │ ├── examples │ ├── testcases │ ├── phpunit.xml │ └── bootstrap.php ├── phpini.sh ├── pharBuilder │ ├── key.pub.pem │ ├── makePhar.php │ └── key.priv.pem └── phpunit │ ├── examples │ ├── swaggerMultiFile.json │ ├── multiSwaggerFile │ │ └── parameters.json │ └── swaggerPetStoreHeroku.json │ ├── testcases │ └── OverrideSwagger.php │ ├── phpunit.xml │ └── bootstrap.php ├── .gitignore ├── bin └── SwaggerValidator.phar ├── doc ├── JsonSerializable.md ├── SwaggerValidator-SwaggerAutoload.md ├── SwaggerValidator-Exception.md ├── SwaggerValidator-Interfaces-ContextDataParser.md ├── SwaggerValidator-Interfaces-ContextDataLoader.md ├── SwaggerValidator-Interfaces-ContextLog.md ├── README.md ├── SwaggerValidator-Common-ReferenceItem.md ├── SwaggerValidator-Swagger.md ├── SwaggerValidator-Common-ReferenceFile.md └── SwaggerValidator-Common-Collection.md ├── phpdoc.xml ├── .codeclimate.yml ├── src ├── Interfaces │ ├── ContextDataParser.php │ ├── ContextDataLoader.php │ ├── ContextLog.php │ └── ContextBase.php ├── Exception.php ├── Common │ ├── SandBoxItem.php │ ├── ReferenceItem.php │ ├── Factory.php │ ├── Sandbox.php │ └── CollectionFile.php ├── Object │ ├── Contact.php │ ├── License.php │ ├── Definitions.php │ ├── ExternalDocs.php │ ├── SecurityItem.php │ ├── SecurityDefinitions.php │ ├── SecurityRequirement.php │ ├── Info.php │ ├── Security.php │ ├── ParameterBody.php │ ├── Headers.php │ ├── HeaderItem.php │ ├── PathItem.php │ ├── Responses.php │ ├── Reference.php │ ├── Operation.php │ ├── Paths.php │ ├── ResponseItem.php │ └── Parameters.php ├── Security │ ├── OAuth2PasswordSecurityScopes.php │ ├── BasicAuthenticationSecurity.php │ ├── ApiKeySecurity.php │ ├── OAuth2PasswordSecurity.php │ ├── OAuth2ImplicitSecurity.php │ ├── OAuth2ApplicationSecurity.php │ └── OAuth2AccessCodeSecurity.php ├── Example.php ├── SwaggerAutoload.php ├── DataType │ ├── TypeFile.php │ ├── TypeBoolean.php │ └── TypeInteger.php └── Compat.php ├── .travis.yml ├── composer.json ├── CHANGELOG.md └── README.md /tests/tmp/placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/phartest/examples: -------------------------------------------------------------------------------- 1 | ../phpunit/examples/ -------------------------------------------------------------------------------- /tests/phartest/testcases: -------------------------------------------------------------------------------- 1 | ../phpunit/testcases/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | tests/metric* 3 | composer.lock 4 | #build*/* 5 | nbproject/ 6 | 7 | -------------------------------------------------------------------------------- /bin/SwaggerValidator.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nabbar/SwaggerValidator-PHP/HEAD/bin/SwaggerValidator.phar -------------------------------------------------------------------------------- /doc/JsonSerializable.md: -------------------------------------------------------------------------------- 1 | JsonSerializable 2 | =============== 3 | 4 | 5 | 6 | 7 | 8 | 9 | * Interface name: JsonSerializable 10 | * Namespace: 11 | * This is an **interface** 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/phpini.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | grep max_execution_time -H /etc/php*/cli/php.ini 4 | sed -i "s/^max_execution_time.*/max_execution_time = $1/" /etc/php*/cli/php.ini 5 | grep max_execution_time -H /etc/php*/cli/php.ini 6 | -------------------------------------------------------------------------------- /phpdoc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Swagger Validator PHP 4 | 5 | ./doc 6 | utf8 7 | 8 | php 9 | 10 | 11 | 12 | phpdoc-md 13 | 14 | 15 |