diff --git a/api/v1/swagger/definitions/vendor_interface.yaml b/api/v1/swagger/definitions/vendor_interface.yaml new file mode 100644 index 0000000000..f23b662914 --- /dev/null +++ b/api/v1/swagger/definitions/vendor_interface.yaml @@ -0,0 +1,31 @@ +--- +type: object +properties: + vendor_interface_id: + description: Internally assigned vendor interface identifier + type: integer + vendor_id: + description: Internally assigned vendor identifier + type: integer + type: + description: Type of the interface, authorised value VENDOR_INTERFACE_TYPE + type: string + name: + description: Name of the interface + type: string + uri: + description: URI of the interface + type: string + login: + description: Login to be used for the interface + type: string + password: + description: Hashed password + type: string + account_email: + description: Account email + type: string + notes: + description: Interface notes + type: string +additionalProperties: false diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml index 5092aa22da..fb36579cea 100644 --- a/api/v1/swagger/swagger.yaml +++ b/api/v1/swagger/swagger.yaml @@ -188,6 +188,8 @@ definitions: $ref: ./definitions/vendor.yaml vendor_alias: $ref: ./definitions/vendor_alias.yaml + vendor_interface: + $ref: ./definitions/vendor_interface.yaml vendor_issue: $ref: ./definitions/vendor_issue.yaml vendors_config: