You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
properties title name "$and" getting compile error
openapi-generator version
gradle plugin 7.10.0
OpenAPI declaration file content or url
/store/collections:
get:
operationId: GetCollectionssummary: List Collectionsdescription: Retrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated.x-authenticated: falseexternalDocs:
url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/listdescription: 'Storefront guide: How to retrieve a list of collections.'parameters:
- name: fieldsin: querydescription: Comma-separated fields that should be included in the returned data. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. without prefix it will replace the entire default fields.required: falseschema:
type: stringtitle: fields
- name: offsetin: querydescription: The number of items to skip when retrieving a list.required: falseschema:
type: numbertitle: offsetdescription: The number of items to skip when retrieving a list.
- name: limitin: querydescription: Limit the number of items returned in the list.required: falseschema:
type: numbertitle: limitdescription: Limit the number of items returned in the list.
- name: orderin: querydescription: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.required: falseschema:
type: stringtitle: orderdescription: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.
- name: titlein: queryrequired: falseschema:
oneOf:
- type: stringtitle: titledescription: Filter by a collection's title.
- type: arraydescription: Filter by collection titles.items:
type: stringtitle: titledescription: A title.
- name: handlein: queryrequired: falseschema:
oneOf:
- type: stringtitle: handledescription: Filter by a collection's handle.
- type: arraydescription: Filter by collection handles.items:
type: stringtitle: handledescription: A handle.
- name: qin: querydescription: Search term to filter the collection's searchable properties.required: falseschema:
type: stringtitle: qdescription: Search term to filter the collection's searchable properties.
- name: $andin: querydescription: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters.required: falseschema:
type: arraydescription: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters.items:
type: objecttitle: $and
- name: $orin: querydescription: Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters.required: falseschema:
type: arraydescription: Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters.items:
type: objecttitle: $ortags:
- Collectionsresponses:
'200':
description: OKcontent:
application/json: {}
anwarpro
changed the title
[BUG][Kotlin]
[BUG][Kotlin] propertise title name "$and" getting compile error
Jan 19, 2025
anwarpro
changed the title
[BUG][Kotlin] propertise title name "$and" getting compile error
[BUG][Kotlin] properties title name "$and" getting compile error
Jan 19, 2025
Bug Report Checklist
Description
properties title name "$and" getting compile error
openapi-generator version
gradle plugin 7.10.0
OpenAPI declaration file content or url
Generation Details
generated getCollections functions body
problem is in these lines
localVariableQuery["$and"] should be localVariableQuery["\$and"]
localVariableQuery["$or"] should be localVariableQuery["\$or"]
The text was updated successfully, but these errors were encountered: