src/Description/Standard/OpenApi/OpenApiParameter.php 1 location
|
@@ 36-40 (lines=5) @@
|
| 33 |
|
$definition->schema = isset($definition->schema) ? $definition->schema : (object)[]; |
| 34 |
|
$definition->schema->type = 'object'; |
| 35 |
|
} |
| 36 |
|
if (isset($definition->schema)) { |
| 37 |
|
$this->schema = Schema::get($definition->schema); |
| 38 |
|
} else { |
| 39 |
|
$this->schema = $this->createSchema($definition); |
| 40 |
|
} |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
src/Description/Standard/Raml/RamlParameter.php 1 location
|
@@ 37-41 (lines=5) @@
|
| 34 |
|
$definition->schema = isset($definition->schema) ? $definition->schema : (object)[]; |
| 35 |
|
$definition->schema->type = 'object'; |
| 36 |
|
} |
| 37 |
|
if (isset($definition->schema)) { |
| 38 |
|
$this->schema = Schema::get($definition->schema); |
| 39 |
|
} else { |
| 40 |
|
$this->schema = $this->createSchema($definition); |
| 41 |
|
} |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
/** |