Skip to content

Use only required params in RouteData #43

@SOHELAHMED7

Description

@SOHELAHMED7

Resolve below TODO:

File: src/lib/items/RouteData.php::init()

L192

               $this->params[$paramName] = [
                    //@TODO: use only required params
                    //'required'=> $pathParameters[$paramName]->required,
                    'type' => $pathParameters[$paramName]->schema->type ?? null,
                    //'model' => $additional ? SchemaResponseResolver::guessModelByRef($additional) : null,
                ];

Part of #10

and

Part of cebe#180

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions