diff --git a/master/documentation/rest-api/swagger.yaml b/master/documentation/rest-api/swagger.yaml index 31aef5c..46c00ae 100644 --- a/master/documentation/rest-api/swagger.yaml +++ b/master/documentation/rest-api/swagger.yaml @@ -82,6 +82,14 @@ definitions: description: EnabledPeers is the number of enabled peers for this interface. Only enabled peers are able to connect. readOnly: true type: integer + Filename: + description: |- + Filename is the name of the config file for this interface. + This value is read only and is not settable by the user. + example: wg0.conf + maxLength: 21 + readOnly: true + type: string FirewallMark: description: FirewallMark is an optional firewall mark which is used to handle interface traffic. type: integer @@ -277,6 +285,14 @@ definitions: items: type: string type: array + Filename: + description: |- + Filename is the name of the config file for this peer. + This value is read only and is not settable by the user. + example: wg_peer_x.conf + maxLength: 21 + readOnly: true + type: string FirewallMark: allOf: - $ref: '#/definitions/models.ConfigOption-uint32'