Skip to content

Commit 7a38046

Browse files
committed
Add documentation for scenario based integration tests
1 parent d88a213 commit 7a38046

File tree

3 files changed

+415
-2
lines changed

3 files changed

+415
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)](https://php.net/)
33
[![Maintainability](https://api.codeclimate.com/v1/badges/7eb29e7366dc3d6a5f44/maintainability)](https://codeclimate.com/github/wol-soft/php-json-schema-model-generator/maintainability)
44
[![Test Coverage](https://api.codeclimate.com/v1/badges/7eb29e7366dc3d6a5f44/test_coverage)](https://codeclimate.com/github/wol-soft/php-json-schema-model-generator/test_coverage)
5-
[![Build Status](https://travis-ci.com/wol-soft/php-json-schema-model-generator.svg?branch=master)](https://travis-ci.com/wol-soft/php-json-schema-model-generator)
5+
[![Build Status](https://github.com/wol-soft/php-json-schema-model-generator/actions/workflows/main.yml/badge.svg)](https://github.com/wol-soft/php-json-schema-model-generator/actions/workflows/main.yml)
66
[![Coverage Status](https://coveralls.io/repos/github/wol-soft/php-json-schema-model-generator/badge.svg?branch=master)](https://coveralls.io/github/wol-soft/php-json-schema-model-generator?branch=master)
77
[![MIT License](https://img.shields.io/packagist/l/wol-soft/php-json-schema-model-generator.svg)](https://github.com/wol-soft/php-json-schema-model-generator/blob/master/LICENSE)
88
[![Documentation Status](https://readthedocs.org/projects/php-json-schema-model-generator/badge/?version=latest)](https://php-json-schema-model-generator.readthedocs.io/en/latest/?badge=latest)

docs/source/examples.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
Examples
22
========
33

4+
On this site you can find some examples using the schema model generator.
5+
6+
.. toctree::
7+
:caption: Patterns using the schema model generator
8+
:maxdepth: 1
9+
10+
examples/scenarioBasedTesting
11+
412
Ebay OpenAPIv3 spec
513
-------------------
614

7-
The Ebay OpenAPIv3 spec for the sell-inventory API is an around 6000 lines API definition. Using a script like the example below you can create ~120 PHP classes to handle requests, responses and all nested objects from the API spec:
15+
The Ebay OpenAPIv3 spec for the `sell-inventory API <https://developer.ebay.com/api-docs/sell/inventory/static/overview.html>`_ is an around 6000 lines API definition. Using a script like the example below you can create ~120 PHP classes to handle requests, responses and all nested objects from the API spec:
816

917
.. code-block:: php
1018

0 commit comments

Comments
 (0)