Skip to content

Commit c485dea

Browse files
committed
mevdschee#571 Fixed Api definition
1 parent 8d80361 commit c485dea

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/Tqdev/PhpCrudApi/OpenApi/OpenApiRecordsBuilder.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -336,26 +336,26 @@ private function setComponentParameters() /*: void*/
336336
$this->openapi->set("components|parameters|filter|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
337337
$this->openapi->set("components|parameters|filter|required", false);
338338

339-
$this->openapi->set("components|parameters|filter|name", "filter1");
340-
$this->openapi->set("components|parameters|filter|in", "query");
341-
$this->openapi->set("components|parameters|filter|schema|type", "array");
342-
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
343-
$this->openapi->set("components|parameters|filter|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
344-
$this->openapi->set("components|parameters|filter|required", false);
339+
$this->openapi->set("components|parameters|filter1|name", "filter1");
340+
$this->openapi->set("components|parameters|filter1|in", "query");
341+
$this->openapi->set("components|parameters|filter1|schema|type", "array");
342+
$this->openapi->set("components|parameters|filter1|schema|items|type", "string");
343+
$this->openapi->set("components|parameters|filter1|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
344+
$this->openapi->set("components|parameters|filter1|required", false);
345345

346-
$this->openapi->set("components|parameters|filter|name", "filter2");
347-
$this->openapi->set("components|parameters|filter|in", "query");
348-
$this->openapi->set("components|parameters|filter|schema|type", "array");
349-
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
350-
$this->openapi->set("components|parameters|filter|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
351-
$this->openapi->set("components|parameters|filter|required", false);
346+
$this->openapi->set("components|parameters|filter2|name", "filter2");
347+
$this->openapi->set("components|parameters|filter2|in", "query");
348+
$this->openapi->set("components|parameters|filter2|schema|type", "array");
349+
$this->openapi->set("components|parameters|filter2|schema|items|type", "string");
350+
$this->openapi->set("components|parameters|filter2|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
351+
$this->openapi->set("components|parameters|filter2|required", false);
352352

353-
$this->openapi->set("components|parameters|filter|name", "filter3");
354-
$this->openapi->set("components|parameters|filter|in", "query");
355-
$this->openapi->set("components|parameters|filter|schema|type", "array");
356-
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
357-
$this->openapi->set("components|parameters|filter|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
358-
$this->openapi->set("components|parameters|filter|required", false);
353+
$this->openapi->set("components|parameters|filter3|name", "filter3");
354+
$this->openapi->set("components|parameters|filter3|in", "query");
355+
$this->openapi->set("components|parameters|filter3|schema|type", "array");
356+
$this->openapi->set("components|parameters|filter3|schema|items|type", "string");
357+
$this->openapi->set("components|parameters|filter3|description", "Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1");
358+
$this->openapi->set("components|parameters|filter3|required", false);
359359

360360
$this->openapi->set("components|parameters|include|name", "include");
361361
$this->openapi->set("components|parameters|include|in", "query");

0 commit comments

Comments
 (0)