mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
update samples
This commit is contained in:
parent
71ecee02e9
commit
ceffdde2c0
@ -6,7 +6,7 @@
|
||||
OpenAPI spec version: 1.0.0
|
||||
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
OpenAPI spec version: 1.0.0
|
||||
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
OpenAPI spec version: 1.0.0
|
||||
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -17,7 +17,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
* OpenAPI Generator version: 3.4.0-SNAPSHOT
|
||||
* OpenAPI Generator version: 4.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -1 +1 @@
|
||||
3.4.0-SNAPSHOT
|
||||
4.0.0-SNAPSHOT
|
@ -5,7 +5,7 @@
|
||||
## Requirements
|
||||
|
||||
* Web server with URL rewriting
|
||||
* PHP 5.5.9 or newer
|
||||
* PHP 7.0 or newer
|
||||
|
||||
This package contains `.htaccess` for Apache configuration.
|
||||
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.
|
||||
@ -30,9 +30,9 @@ $ php -S localhost:8888 -t php-slim-server
|
||||
|
||||
## Run tests
|
||||
|
||||
This package uses PHPUnit 4.8 for unit testing and PHP Codesniffer to check source code against user defined coding standard(`phpcsStandard` generator config option).
|
||||
This package uses PHPUnit 6 or 7(depends from your PHP version) for unit testing and PHP Codesniffer to check source code against user defined coding standard(`phpcsStandard` generator config option).
|
||||
[Test folder](test) contains templates which you can fill with real test assertions.
|
||||
How to write tests read at [PHPUnit Manual - Chapter 2. Writing Tests for PHPUnit](https://phpunit.de/manual/4.8/en/writing-tests-for-phpunit.html).
|
||||
How to write tests read at [PHPUnit Manual - Chapter 2. Writing Tests for PHPUnit](https://phpunit.de/manual/6.5/en/writing-tests-for-phpunit.html).
|
||||
How to configure PHP CodeSniffer read at [PHP CodeSniffer Documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki).
|
||||
There is [phplint](https://github.com/overtrue/phplint) tool to check php syntax automatically.
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">./lib//Api</directory>
|
||||
<directory suffix=".php">./lib//Model</directory>
|
||||
<directory suffix=".php">./lib/Api</directory>
|
||||
<directory suffix=".php">./lib/Model</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user