Skip to content

Commit

Permalink
mevdschee#571 Fixed Api definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasborn committed Jul 16, 2023
1 parent 8d80361 commit c485dea
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/Tqdev/PhpCrudApi/OpenApi/OpenApiRecordsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,26 +336,26 @@ private function setComponentParameters() /*: void*/
$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");
$this->openapi->set("components|parameters|filter|required", false);

$this->openapi->set("components|parameters|filter|name", "filter1");
$this->openapi->set("components|parameters|filter|in", "query");
$this->openapi->set("components|parameters|filter|schema|type", "array");
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter|required", false);
$this->openapi->set("components|parameters|filter1|name", "filter1");
$this->openapi->set("components|parameters|filter1|in", "query");
$this->openapi->set("components|parameters|filter1|schema|type", "array");
$this->openapi->set("components|parameters|filter1|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter1|required", false);

$this->openapi->set("components|parameters|filter|name", "filter2");
$this->openapi->set("components|parameters|filter|in", "query");
$this->openapi->set("components|parameters|filter|schema|type", "array");
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter|required", false);
$this->openapi->set("components|parameters|filter2|name", "filter2");
$this->openapi->set("components|parameters|filter2|in", "query");
$this->openapi->set("components|parameters|filter2|schema|type", "array");
$this->openapi->set("components|parameters|filter2|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter2|required", false);

$this->openapi->set("components|parameters|filter|name", "filter3");
$this->openapi->set("components|parameters|filter|in", "query");
$this->openapi->set("components|parameters|filter|schema|type", "array");
$this->openapi->set("components|parameters|filter|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter|required", false);
$this->openapi->set("components|parameters|filter3|name", "filter3");
$this->openapi->set("components|parameters|filter3|in", "query");
$this->openapi->set("components|parameters|filter3|schema|type", "array");
$this->openapi->set("components|parameters|filter3|schema|items|type", "string");
$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");
$this->openapi->set("components|parameters|filter3|required", false);

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

0 comments on commit c485dea

Please sign in to comment.