-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
2,875 additions
and
3,820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
namespace Calcinai\Strut\Definitions; | ||
|
||
use Calcinai\Strut\BaseSchema; | ||
|
||
class AnysOrExpressions extends BaseSchema | ||
{ | ||
/** | ||
* Array to store schema data and default values | ||
* @var array | ||
*/ | ||
protected $data = []; | ||
|
||
/** | ||
* Any enums that exist on this object | ||
* @var array | ||
*/ | ||
protected static $enums = []; | ||
|
||
/** | ||
* Properties and types | ||
* @var array | ||
*/ | ||
protected static $properties = []; | ||
|
||
/** | ||
* Allowed additional properties | ||
* @var array | ||
*/ | ||
protected static $additional_properties = ['mixed', 'Definitions\\Expression']; | ||
|
||
/** | ||
* Array to store any allowed pattern properties | ||
* @var array | ||
*/ | ||
protected static $pattern_properties = []; | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace Calcinai\Strut\Definitions; | ||
|
||
use Calcinai\Strut\BaseSchema; | ||
/** | ||
* A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation. | ||
*/ | ||
|
||
class Callback extends BaseSchema | ||
{ | ||
/** | ||
* Array to store schema data and default values | ||
* @var array | ||
*/ | ||
protected $data = []; | ||
|
||
/** | ||
* Any enums that exist on this object | ||
* @var array | ||
*/ | ||
protected static $enums = []; | ||
|
||
/** | ||
* Properties and types | ||
* @var array | ||
*/ | ||
protected static $properties = []; | ||
|
||
/** | ||
* Allowed additional properties | ||
* @var array | ||
*/ | ||
protected static $additional_properties = false; | ||
|
||
/** | ||
* Array to store any allowed pattern properties | ||
* @var array | ||
*/ | ||
protected static $pattern_properties = ['^' => ['Definitions\\PathItem'], '^x-' => ['null', 'integer', 'boolean', 'string', 'object', 'array']]; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
namespace Calcinai\Strut\Definitions; | ||
|
||
use Calcinai\Strut\BaseSchema; | ||
|
||
class CallbacksOrReferences extends BaseSchema | ||
{ | ||
/** | ||
* Array to store schema data and default values | ||
* @var array | ||
*/ | ||
protected $data = []; | ||
|
||
/** | ||
* Any enums that exist on this object | ||
* @var array | ||
*/ | ||
protected static $enums = []; | ||
|
||
/** | ||
* Properties and types | ||
* @var array | ||
*/ | ||
protected static $properties = []; | ||
|
||
/** | ||
* Allowed additional properties | ||
* @var array | ||
*/ | ||
protected static $additional_properties = ['Definitions\\Callback', 'Definitions\\Reference']; | ||
|
||
/** | ||
* Array to store any allowed pattern properties | ||
* @var array | ||
*/ | ||
protected static $pattern_properties = []; | ||
|
||
} |
Oops, something went wrong.