/
home
/
infinitibizsol
/
.trash
/
docs.2
/
common
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/docs.2/common/globalSearch.js
/** * @swagger * components: * schemas: * SearchResult: * type: object * properties: * type: * type: string * description: The type of the entity (User, Contact, Policy) * example: User * data: * type: array * items: * type: object * description: The matched entities of this type * * GlobalSearchResponse: * type: array * items: * $ref: '#/components/schemas/SearchResult' * * parameters: * queryText: * in: query * name: q * schema: * type: string * required: true * description: The text to search across the collections * * tags: * - name: Search * description: Operations related to global search */ /** * @swagger * /search/universal: * get: * summary: Perform a global search across User, Contact, and Policy collections * tags: [Search] * parameters: * - $ref: '#/components/parameters/queryText' * responses: * 200: * description: A list of matching results grouped by type * content: * application/json: * schema: * $ref: '#/components/schemas/GlobalSearchResponse' */ "use strict";
Copyright ©2k19 -
Hexid
|
Tex7ure