-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
i use to generate client fetch with swagger-typescript-api but it give me error when i want to filter my for example courses, the type of filters was an object , i check my documentation.json file and see swagger dosent even generate the filters, fields and parameters correctly its like this:
{ "name": "fields", "in": "query", "description": "Fields to return (ex: title,author)", "deprecated": false, "required": false, "schema": { "type": "string" } }, { "name": "populate", "in": "query", "description": "Relations to return", "deprecated": false, "required": false, "schema": { "type": "string" } }, { "name": "filters", "in": "query", "description": "Filters to apply", "deprecated": false, "required": false, "schema": { "type": "object" }, "style": "deepObject" },
type of filters is object, it will give me error when i want to filter my articles like this filters: {
title: {
$eq: "name"
}
}