Skip to content

Commit

Permalink
Merge pull request #5 from calcinai/oapi-3
Browse files Browse the repository at this point in the history
OAPI 3 Support
  • Loading branch information
calcinai authored Jan 14, 2019
2 parents 09aae70 + f435fb8 commit 055edc2
Show file tree
Hide file tree
Showing 63 changed files with 3,706 additions and 5,008 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The library will deserialize an OpenAPI specification into native PHP objects, t

```php
$schema = json_decode(file_get_contents('http://petstore.swagger.io/v2/swagger.json'));
$swagger = \Calcinai\Strut\Swagger::create($schema);
$openapi = \Calcinai\Strut\OpenAPI::create($schema);
print_r($swagger);
```

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


"require": {
"ext-json": "*"
},

"autoload": {
Expand Down
Loading

0 comments on commit 055edc2

Please sign in to comment.