Sindbad~EG File Manager
/**
* @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'
*/
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists