File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ final class SwaggerDecorator implements NormalizerInterface
53
53
54
54
55
55
// e.g. add a custom parameter
56
- $docs['paths']['/foos']['get']['parameters'][] = $customDefinition;
56
+ $docs['paths']['/foos']['get']['parameters'][] = $customDefinition;
57
57
58
- // Override title
59
- $docs['info']['title'] = 'My Api Foo';
58
+ // Override title
59
+ $docs['info']['title'] = 'My Api Foo';
60
60
61
61
return $docs;
62
62
}
@@ -104,7 +104,7 @@ class Product // The class name will be used to name exposed resources
104
104
* @Assert\NotBlank
105
105
*
106
106
* @ApiProperty(
107
- * " attributes" ={
107
+ * attributes={
108
108
* "swagger_context"={
109
109
* "type"="string",
110
110
* "enum"={"one", "two"},
@@ -120,7 +120,7 @@ class Product // The class name will be used to name exposed resources
120
120
* @Assert\DateTime
121
121
*
122
122
* @ApiProperty(
123
- * " attributes" ={
123
+ * attributes={
124
124
* "swagger_context"={"type"="string", "format"="date-time"}
125
125
* }
126
126
* )
You can’t perform that action at this time.
0 commit comments