basePath: /api/v1 definitions: requests.Pager: properties: items: {} limit: type: integer page: type: integer total: type: integer type: object v1.ResponseItem: type: object externalDocs: description: OpenAPI url: https://swagger.io/resources/open-api/ host: localhost:8080 info: contact: email: support@swagger.io name: UserName url: http://www.swagger.io/support description: This is a sample server celler server. license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html termsOfService: http://swagger.io/terms/ title: ApiDoc version: "1.0" paths: /v1/medias/{id}: post: consumes: - application/json description: Test parameters: - description: ID in: path name: id required: true type: integer - description: 年龄 in: query name: age type: integer - description: 名称 in: query name: name type: string - in: query name: limit type: integer - in: query name: page type: integer produces: - application/json responses: "200": description: 成功 schema: allOf: - $ref: '#/definitions/requests.Pager' - properties: list: $ref: '#/definitions/v1.ResponseItem' type: object summary: Test tags: - Test securityDefinitions: BasicAuth: type: basic swagger: "2.0"