File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -9708,7 +9708,7 @@ class OpenApiStatusBuilder
9708
9708
private $ operations = [
9709
9709
'status ' => [
9710
9710
'ping ' => 'get ' ,
9711
- ],
9711
+ ],
9712
9712
];
9713
9713
9714
9714
public function __construct (OpenApiDefinition $ openapi )
@@ -9719,8 +9719,6 @@ public function __construct(OpenApiDefinition $openapi)
9719
9719
public function build () /*: void*/
9720
9720
{
9721
9721
$ this ->setPaths ();
9722
- $ this ->openapi ->set ("components|responses|boolSuccess|description " , "boolean indicating success or failure " );
9723
- $ this ->openapi ->set ("components|responses|boolSuccess|content|application/json|schema|type " , "boolean " );
9724
9722
$ this ->setComponentSchema ();
9725
9723
$ this ->setComponentResponse ();
9726
9724
foreach (array_keys ($ this ->operations ) as $ index => $ type ) {
@@ -9738,7 +9736,7 @@ private function setPaths() /*: void*/
9738
9736
$ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ type " );
9739
9737
$ this ->openapi ->set ("paths| $ path| $ method|description " , "Request API ' $ operation' status " );
9740
9738
$ this ->openapi ->set ("paths| $ path| $ method|responses|200| \$ref " , "#/components/responses/ $ operationType " );
9741
-
9739
+
9742
9740
}
9743
9741
}
9744
9742
}
Original file line number Diff line number Diff line change @@ -9708,7 +9708,7 @@ class OpenApiStatusBuilder
9708
9708
private $ operations = [
9709
9709
'status ' => [
9710
9710
'ping ' => 'get ' ,
9711
- ],
9711
+ ],
9712
9712
];
9713
9713
9714
9714
public function __construct (OpenApiDefinition $ openapi )
@@ -9719,8 +9719,6 @@ public function __construct(OpenApiDefinition $openapi)
9719
9719
public function build () /*: void*/
9720
9720
{
9721
9721
$ this ->setPaths ();
9722
- $ this ->openapi ->set ("components|responses|boolSuccess|description " , "boolean indicating success or failure " );
9723
- $ this ->openapi ->set ("components|responses|boolSuccess|content|application/json|schema|type " , "boolean " );
9724
9722
$ this ->setComponentSchema ();
9725
9723
$ this ->setComponentResponse ();
9726
9724
foreach (array_keys ($ this ->operations ) as $ index => $ type ) {
@@ -9738,7 +9736,7 @@ private function setPaths() /*: void*/
9738
9736
$ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ type " );
9739
9737
$ this ->openapi ->set ("paths| $ path| $ method|description " , "Request API ' $ operation' status " );
9740
9738
$ this ->openapi ->set ("paths| $ path| $ method|responses|200| \$ref " , "#/components/responses/ $ operationType " );
9741
-
9739
+
9742
9740
}
9743
9741
}
9744
9742
}
You can’t perform that action at this time.
0 commit comments