|
@@ -127,7 +127,7 @@ discard block |
|
|
block discarded – undo |
|
127
|
127
|
} |
|
128
|
128
|
|
|
129
|
129
|
$range = $this->getRange($propertyMetadata); |
|
130
|
|
- $definitions[$shortName]['properties'][$propertyName]['description'] = $propertyMetadata->getDescription() ?: ''; |
|
|
130
|
+ $definitions[$shortName]['properties'][$propertyName]['description'] = $propertyMetadata->getDescription() ?: ''; |
|
131
|
131
|
|
|
132
|
132
|
|
|
133
|
133
|
|
|
@@ -213,7 +213,7 @@ discard block |
|
|
block discarded – undo |
|
213
|
213
|
if (!isset($swaggerOperation[$methodSwagger]['title'])) { |
|
214
|
214
|
$swaggerOperation[$methodSwagger]['summary'] = sprintf('Retrieves the collection of %s resources.', $shortName); |
|
215
|
215
|
} |
|
216
|
|
- if($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
|
216
|
+ if ($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
217
|
217
|
$swaggerOperation[$methodSwagger]['parameters'][] = [ |
|
218
|
218
|
'in' => 'body', |
|
219
|
219
|
'name' => 'body', |
|
@@ -246,7 +246,7 @@ discard block |
|
|
block discarded – undo |
|
246
|
246
|
$swaggerOperation[$methodSwagger]['summary'] = sprintf('Creates a %s resource.', $shortName); |
|
247
|
247
|
} |
|
248
|
248
|
|
|
249
|
|
- if($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
|
249
|
+ if ($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
250
|
250
|
$swaggerOperation[$methodSwagger]['parameters'][] = [ |
|
251
|
251
|
'in' => 'body', |
|
252
|
252
|
'name' => 'body', |
|
@@ -268,7 +268,7 @@ discard block |
|
|
block discarded – undo |
|
268
|
268
|
$swaggerOperation[$methodSwagger]['summary'] = sprintf('Replaces the %s resource.', $shortName); |
|
269
|
269
|
} |
|
270
|
270
|
|
|
271
|
|
- if($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
|
271
|
+ if ($this->resourceClassResolver->isResourceClass($resourceClass)) { |
|
272
|
272
|
|
|
273
|
273
|
$swaggerOperation[$methodSwagger]['parameters'] = [ |
|
274
|
274
|
[ |