Bug 39838: Add `vendor_alias` definition in swagger

This patch adapts the definition file and also tweaks the attribute
names and descriptions to match our guidelines.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Tomas Cohen Arazi 2025-05-05 14:33:10 -03:00 committed by Katrin Fischer
parent f3109d0021
commit d81636c279
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,11 @@
---
type: object
properties:
alias_id:
description: Internal ID for the extended attribute
vendor_alias_id:
description: Internally assigned vendor alias identifier
type: integer
vendor_id:
description: ID of the vendor
description: Internally assigned vendor alias identifier
type: integer
alias:
description: The alias

View File

@ -186,6 +186,8 @@ definitions:
$ref: ./definitions/transfer_limit.yaml
vendor:
$ref: ./definitions/vendor.yaml
vendor_alias:
$ref: ./definitions/vendor_alias.yaml
vendor_issue:
$ref: ./definitions/vendor_issue.yaml
vendors_config: