The /api/users (GET) endpoint (and many others) returns a list of users and supports advanced search queries. However, the OpenAPI spec documentation currently does not include any URL search (query) parameters for this functionality. This PR introduces a new dynamic parameter called search_params, defined as an object with string keys and values. This object will not appear in the generated OpenAPI client. Instead, users can pass a map of strings, which will append these keys and values to the URLSearchParams, thereby enabling advanced user search capabilities.
Summary
The
/api/users
(GET) endpoint (and many others) returns a list of users and supports advanced search queries. However, the OpenAPI spec documentation currently does not include any URL search (query) parameters for this functionality. This PR introduces a new dynamic parameter calledsearch_params
, defined as anobject
withstring
keys and values. This object will not appear in the generated OpenAPI client. Instead, users can pass a map of strings, which will append these keys and values to the URLSearchParams, thereby enabling advanced user search capabilities.Testing
Query parameter
Swagger UI
URL
Go API Client
Checklist
.changeset