Skip to content

Commit 6612aeb

Browse files
committed
utf8 in component ids
1 parent 7fec768 commit 6612aeb

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

api.include.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9094,8 +9094,8 @@ public function __construct(OpenApiDefinition $openapi)
90949094
public function build() /*: void*/
90959095
{
90969096
$this->setPaths();
9097-
$this->openapi->set("components|responses|boolSuccess|description", "boolean indicating success or failure");
9098-
$this->openapi->set("components|responses|boolSuccess|content|application/json|schema|type", "boolean");
9097+
$this->openapi->set("components|responses|bool-success|description", "boolean indicating success or failure");
9098+
$this->openapi->set("components|responses|bool-success|content|application/json|schema|type", "boolean");
90999099
$this->setComponentSchema();
91009100
$this->setComponentResponse();
91019101
$this->setComponentRequestBody();
@@ -9147,7 +9147,7 @@ private function setPaths() /*: void*/
91479147
case 'create':
91489148
case 'update':
91499149
case 'delete':
9150-
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/boolSuccess");
9150+
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/bool-success");
91519151
break;
91529152
}
91539153
}

api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9094,8 +9094,8 @@ public function __construct(OpenApiDefinition $openapi)
90949094
public function build() /*: void*/
90959095
{
90969096
$this->setPaths();
9097-
$this->openapi->set("components|responses|boolSuccess|description", "boolean indicating success or failure");
9098-
$this->openapi->set("components|responses|boolSuccess|content|application/json|schema|type", "boolean");
9097+
$this->openapi->set("components|responses|bool-success|description", "boolean indicating success or failure");
9098+
$this->openapi->set("components|responses|bool-success|content|application/json|schema|type", "boolean");
90999099
$this->setComponentSchema();
91009100
$this->setComponentResponse();
91019101
$this->setComponentRequestBody();
@@ -9147,7 +9147,7 @@ private function setPaths() /*: void*/
91479147
case 'create':
91489148
case 'update':
91499149
case 'delete':
9150-
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/boolSuccess");
9150+
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/bool-success");
91519151
break;
91529152
}
91539153
}

src/Tqdev/PhpCrudApi/OpenApi/OpenApiColumnsBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function __construct(OpenApiDefinition $openapi)
3333
public function build() /*: void*/
3434
{
3535
$this->setPaths();
36-
$this->openapi->set("components|responses|boolSuccess|description", "boolean indicating success or failure");
37-
$this->openapi->set("components|responses|boolSuccess|content|application/json|schema|type", "boolean");
36+
$this->openapi->set("components|responses|bool-success|description", "boolean indicating success or failure");
37+
$this->openapi->set("components|responses|bool-success|content|application/json|schema|type", "boolean");
3838
$this->setComponentSchema();
3939
$this->setComponentResponse();
4040
$this->setComponentRequestBody();
@@ -86,7 +86,7 @@ private function setPaths() /*: void*/
8686
case 'create':
8787
case 'update':
8888
case 'delete':
89-
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/boolSuccess");
89+
$this->openapi->set("paths|$path|$method|responses|200|\$ref", "#/components/responses/bool-success");
9090
break;
9191
}
9292
}

0 commit comments

Comments
 (0)