add networkinterfaces api docs

This commit is contained in:
ioito
2019-07-22 21:14:28 +08:00
parent aac4d5bdf5
commit 9fefa312bd
5 changed files with 102 additions and 2 deletions
@@ -0,0 +1,11 @@
get:
summary: 获取指定虚拟网卡详情信息
parameters:
- $ref: "../parameters/networkinterface.yaml#/networkinterfaceId"
responses:
200:
description: 虚拟网卡详情信息
schema:
$ref: "../schemas/networkinterface.yaml#/NetworkinterfaceResponse"
tags:
- networkinterfaces
@@ -0,0 +1,14 @@
get:
summary: 按指定条件列出虚拟网卡列表
parameters:
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/cloudregion'
- $ref: '../parameters/common.yaml#/zone'
responses:
200:
description: 虚拟网卡列表信息
schema:
$ref: "../schemas/networkinterface.yaml#/NetworkinterfaceListResponse"
tags:
- networkinterfaces