[Slim] Improve codebase decouple (#438)

* [Slim] Decouple Api files into separated PHP Classes

This enhancement required for modular testing and code coverage generating.

* [Slim] Define all app routes in SlimRouter PHP Class. Generate new samples
This commit is contained in:
Yuriy Belenko
2018-07-06 02:37:14 -04:00
committed by William Cheng
parent 3408866b79
commit 9eeedede49
74 changed files with 2000 additions and 941 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* MapTest
*/
namespace OpenAPIServer\Model;
/**
* MapTest
*/
class MapTest {
/** @var map[string,map[string,string]] $mapMapOfString */
private $mapMapOfString;
/** @var map[string,string] $mapOfEnumString */
private $mapOfEnumString;
/** @var map[string,bool] $directMap */
private $directMap;
/** @var \OpenAPIServer\Model\StringBooleanMap $indirectMap */
private $indirectMap;
}