Skip to content

Commit

Permalink
OpenAPI 3.1 support (#26)
Browse files Browse the repository at this point in the history
Drops support for PHP 7.2
  • Loading branch information
osteel authored Mar 23, 2023
1 parent 718cd0c commit f3d16f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![License](https://poser.pugx.org/osteel/openapi-httpfoundation-testing/license)](//packagist.org/packages/osteel/openapi-httpfoundation-testing)
[![Downloads](http://poser.pugx.org/osteel/openapi-httpfoundation-testing/downloads)](//packagist.org/packages/osteel/openapi-httpfoundation-testing)

Validate HttpFoundation requests and responses against OpenAPI (3.0.x) definitions.
Validate HttpFoundation requests and responses against OpenAPI (3+) definitions.

See [this post](https://tech.osteel.me/posts/openapi-backed-api-testing-in-php-projects-a-laravel-example "OpenAPI-backed API testing in PHP projects – a Laravel example") for more details and [this repository](https://github.com/osteel/openapi-httpfoundation-testing-laravel-example) for an example use in a Laravel project.

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "osteel/openapi-httpfoundation-testing",
"type": "library",
"description": "Validate HttpFoundation requests and responses against OpenAPI (3.0.x) definitions",
"description": "Validate HttpFoundation requests and responses against OpenAPI (3+) definitions",
"keywords": [
"openapi",
"httpfoundation",
Expand All @@ -23,16 +23,16 @@
}
],
"require": {
"php": "^7.2|^8.0",
"php": "^7.3|^8.0",
"ext-json": "*",
"league/openapi-psr7-validator": "^0.17",
"league/openapi-psr7-validator": "^0.19",
"nyholm/psr7": "^1.0",
"psr/http-message": "^1.0",
"symfony/http-foundation": "^4.0 || ^5.0 || ^6.0",
"symfony/psr-http-message-bridge": "^2.0"
},
"require-dev": {
"phpunit/phpunit": ">=8.5.23",
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down

0 comments on commit f3d16f2

Please sign in to comment.