📅  最后修改于: 2022-03-11 14:55:35.199000             🧑  作者: Mango
openapi: 3.0.0
info:
title: Testing API Next
description: Testing Next Rest API
version: 1.0.0
### ===========================
### ===========================
### ENPOIT SERVERS TERITORY
### ===========================
### ===========================
servers:
- url: '{protocol}://{host}'
description: '{description}'
variables:
host:
default: api.testing.com
enum:
- api.testing.com
- api.testing.xyz
protocol:
default: http
enum:
- http
- https
description:
default: Optional server description, e.g. Main (production) server
enum:
- Optional server description, e.g. Main (production) server
- Optional server description, e.g. Internal staging server for testing
### ===========================
### ===========================
### ROUTE PATH TERITORY
### ===========================
### ===========================
paths:
### ===========================
### ROUTE AUTH TERITORY
####===========================
/auth/login:
$ref: './swaggers/auth.route.yml#/~1auth~1login'
/auth/register:
$ref: './swaggers/auth.route.yml#/~1auth~1register'
/auth/register/company:
$ref: './swaggers/auth.route.yml#/~1auth~1register~1company'