Completed
Branch develop (b402bf)
by
unknown
23:19
created
htdocs/includes/restler/framework/Luracast/Restler/Explorer.php 1 patch
Indentation   +535 added lines, -535 removed lines patch added patch discarded remove patch
@@ -16,238 +16,238 @@
 block discarded – undo
16 16
  */
17 17
 class Explorer implements iProvideMultiVersionApi
18 18
 {
19
-    const SWAGGER = '2.0';
20
-
21
-    /**
22
-     * @var array http schemes supported. http or https or both http and https
23
-     */
24
-    public static $schemes = array();
25
-    /**
26
-     * @var bool should protected resources be shown to unauthenticated users?
27
-     */
28
-    public static $hideProtected = true;
29
-    /**
30
-     * @var bool should we use format as extension?
31
-     */
32
-    public static $useFormatAsExtension = true;
33
-    /*
19
+	const SWAGGER = '2.0';
20
+
21
+	/**
22
+	 * @var array http schemes supported. http or https or both http and https
23
+	 */
24
+	public static $schemes = array();
25
+	/**
26
+	 * @var bool should protected resources be shown to unauthenticated users?
27
+	 */
28
+	public static $hideProtected = true;
29
+	/**
30
+	 * @var bool should we use format as extension?
31
+	 */
32
+	public static $useFormatAsExtension = true;
33
+	/*
34 34
      * @var bool can we accept scalar values (string, int, float etc) as the request body?
35 35
      */
36
-    public static $allowScalarValueOnRequestBody = false;
37
-    /**
38
-     * @var array all http methods specified here will be excluded from
39
-     * documentation
40
-     */
41
-    public static $excludedHttpMethods = array('OPTIONS');
42
-    /**
43
-     * @var array all paths beginning with any of the following will be excluded
44
-     * from documentation
45
-     */
46
-    public static $excludedPaths = array();
47
-    /**
48
-     * @var bool
49
-     */
50
-    public static $placeFormatExtensionBeforeDynamicParts = true;
51
-    /**
52
-     * @var bool should we group all the operations with the same url or not
53
-     */
54
-    public static $groupOperations = false;
55
-
56
-    /**
57
-     * @var string class that holds metadata as static properties
58
-     */
59
-    public static $infoClass = 'Luracast\Restler\ExplorerInfo';
60
-    /**
61
-     * Injected at runtime
62
-     *
63
-     * @var Restler instance of restler
64
-     */
65
-    public $restler;
66
-    /**
67
-     * @var string when format is not used as the extension this property is
68
-     * used to set the extension manually
69
-     */
70
-    public $formatString = '';
71
-
72
-    /**
73
-     * @var array type mapping for converting data types to JSON-Schema Draft 4
74
-     * Which is followed by swagger 1.2 spec
75
-     */
76
-    public static $dataTypeAlias = array(
77
-        //'string' => 'string',
78
-        'int'      => 'integer',
79
-        'number'   => 'number',
80
-        'float'    => array('number', 'float'),
81
-        'bool'     => 'boolean',
82
-        //'boolean' => 'boolean',
83
-        //'NULL' => 'null',
84
-        'array'    => 'array',
85
-        //'object' => 'object',
86
-        'stdClass' => 'object',
87
-        'mixed'    => 'string',
88
-        'date'     => array('string', 'date'),
89
-        'datetime' => array('string', 'date-time'),
90
-    );
91
-
92
-    /**
93
-     * @var array configurable symbols to differentiate public, hybrid and
94
-     * protected api
95
-     */
96
-    public static $apiDescriptionSuffixSymbols = array(
97
-        0 => ' 
Please login to merge, or discard this patch.