Explorar o código

edited swagger

ryuichi-e %!s(int64=6) %!d(string=hai) anos
pai
achega
377f328a4d
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/server/routes/apiv3/users.js

+ 5 - 5
src/server/routes/apiv3/users.js

@@ -117,27 +117,27 @@ module.exports = (crowi) => {
    *            in: query
    *            description: page number
    *            schema:
-   *              type: object
+   *              type: number
    *          - name:  selectedStatusList
    *            in: query
    *            description: status list
    *            schema:
-   *              type: object
+   *              type: string
    *          - name: searchText
    *            in: query
    *            description: For incremental search value from input box
    *            schema:
-   *              type: object
+   *              type: string
    *          - name: sortOrder
    *            in: query
    *            description: asc or desc
    *            schema:
-   *              type: object
+   *              type: string
    *          - name: sort
    *            in: query
    *            description: sorting column
    *            schema:
-   *              type: object
+   *              type: string
    *        responses:
    *          200:
    *            description: users are fetched