Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.4 KB

Examples.md

File metadata and controls

47 lines (30 loc) · 1.4 KB

openapi-spec

Using swagger-php to generate the examples in the spec

petstore.swagger.io

Using swagger-php to generate the example for swagger-ui

swagger-spec

Using swagger-php to generate the examples in the spec

petstore

The smallest example, contains only 1 operation.

json folder

petstore-simple

An example with 4 operations on 2 paths.

json folder

petstore-with-external-docs

Very similar to petstore-simple but with externalDocs

json folder

openapi-spec

Simple example with 3 models and 3 actions

json folder

petstore.swagger.io

Demonstration for petstore.swagger.io in php swagger annotations

json folder

using-refs

Example demonstrating different use-cases of $ref to keep your documentation D.R.Y.

json folder