swagger: "2.0"
info:
  version: "1.0"
  title: "API文档"
  contact:
    name: "毛松"
    email: "maosong@ioophp.com"
servers:
  - url: https://dev-domain/api
    name: 开发
  - url: https://test-domain/api
    name: 测试
  - url: https://domain/api
    name: 产品
securityDefinitions:
  auth-token:
    type: apiKey
    in: header
    name: x-auth-token
tags:
  - name: "用户"
    description: "用户管理相关API"
paths:
  /user:
    $ref: "./paths/user.yaml"
  /user/{id}:
    $ref: "./paths/user_id.yaml"
  /login:
    $ref: "./paths/login.yaml"
