Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate all examples to OpenAPI #488

Merged
merged 28 commits into from
Mar 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
994b83b
add flow security annotations
sonrac Jan 7, 2018
2ab08da
fix tests
sonrac Jan 8, 2018
f3c37a9
fix security schema, add new api generated file for complex config
sonrac Jan 8, 2018
5543475
add XmlContent content type, fix oauth2 flow, add http schemes, fix s…
sonrac Jan 9, 2018
daac253
add models, fix flow, fix schemes, fix servers list
sonrac Jan 9, 2018
e575502
fix tests
sonrac Jan 9, 2018
ad6c733
add original petstore annotation, add request body, add additional pr…
sonrac Jan 10, 2018
e4410c5
remove old example
sonrac Jan 10, 2018
15fe19c
fix tests
sonrac Jan 10, 2018
70ad33e
remove hhvm from travis
sonrac Jan 10, 2018
d3d289c
fix petstore annotation, fix tests
sonrac Jan 10, 2018
e3477f4
migrate using ref example to openapi
sonrac Jan 10, 2018
ea2ca50
update documentation
sonrac Jan 10, 2018
64c95e4
add ling to visual different guide
sonrac Jan 10, 2018
5122f65
update examples doc
sonrac Jan 10, 2018
e07367c
fix tests
sonrac Jan 13, 2018
ecd4eff
refactoring petstore.swagger.io
sonrac Jan 15, 2018
3a8d79b
Merge branch 'fix-docs' into origin-pets
sonrac Jan 15, 2018
c5cf3a9
migrate all examples to openapi
sonrac Jan 16, 2018
911f653
Merge remote-tracking branch 't/3.x' into origin-pets
sonrac Jan 16, 2018
8615a07
test change for run build
sonrac Jan 22, 2018
8b0dc6a
fix merge request
Mar 12, 2018
8a16377
remove schemes from openapi spec
Mar 12, 2018
d2e36da
Merge branch '3.x' into origin-pets
Mar 12, 2018
a4a259d
add test for OpenApi spect with
Mar 12, 2018
38a47b1
update test
Mar 12, 2018
66082b8
remove var_dump
Mar 12, 2018
3ee12a1
fix phpcs notifications
Mar 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Examples/petstore.swagger.io/ApiResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
namespace PetstoreIO;

/**
* @SWG\Definition(type="object")
* @OAS\Schema(type="object")
*/
class ApiResponse
{

/**
* @SWG\Property(format="int32")
* @OAS\Property(format="int32")
* @var int
*/
public $code;

/**
* @SWG\Property
* @OAS\Property
* @var string
*/
public $type;

/**
* @SWG\Property
* @OAS\Property
* @var string
*/
public $message;
Expand Down
Loading