added jsdoc definitions to apis
This commit is contained in:
@@ -1,3 +1,52 @@
|
||||
/**
|
||||
* @swagger
|
||||
* /api/endpoint/getadvancedsearchpaged_api:
|
||||
* get:
|
||||
* tags: [Search]
|
||||
* description: Advanced search paged
|
||||
* parameters:
|
||||
* - name: searchstring
|
||||
* description: search string
|
||||
* in: query
|
||||
* required: false
|
||||
* example: {
|
||||
* "q":"cas-",
|
||||
* "lpa":"744c69f4-48da-eb11-aac5-00224800be9c",
|
||||
* "apt":"846040000",
|
||||
* "statuscode":"1"}
|
||||
* schema:
|
||||
* type: string
|
||||
* - name: pageNumber
|
||||
* in: query
|
||||
* required: true
|
||||
* example: 1
|
||||
* schema:
|
||||
* type: string
|
||||
* - name: orderby
|
||||
* in: query
|
||||
* required: true
|
||||
* example: createdon
|
||||
* schema:
|
||||
* type: string
|
||||
* - name: fieldSort
|
||||
* in: query
|
||||
* required: true
|
||||
* description: asc or desc
|
||||
* example: asc
|
||||
* schema:
|
||||
* type: string
|
||||
* - name: showNumberOfRecords
|
||||
* in: query
|
||||
* required: true
|
||||
* description: number of records to return per page
|
||||
* example: 10
|
||||
* schema:
|
||||
* type: string
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Success
|
||||
*/
|
||||
|
||||
import axios from "axios";
|
||||
import CryptoJS from "crypto-js";
|
||||
import { query } from "jsonpath";
|
||||
|
||||
Reference in New Issue
Block a user