API: Update content-services API schema

This updates content-services API schema so it includes end_date for modules.
This commit is contained in:
regexowl 2025-04-25 16:39:56 +02:00 committed by Klara Simickova
parent fe8a96b174
commit ba68556388
2 changed files with 16 additions and 4 deletions

View file

@ -252,7 +252,7 @@
},
"type": "object"
},
"api.ModuleInfoResponse": {
"api.PackageSourcesResponse": {
"properties": {
"arch": {
"description": "Architecture of the module",
@ -266,10 +266,18 @@
"description": "Description of the module",
"type": "string"
},
"end_date": {
"description": "End date of the lifecycle",
"type": "string"
},
"name": {
"description": "Name of the module",
"type": "string"
},
"start_date": {
"description": "Start date of the lifecycle",
"type": "string"
},
"stream": {
"description": "Stream of the module",
"type": "string"
@ -1177,7 +1185,7 @@
"package_sources": {
"description": "List of the module streams for the package",
"items": {
"$ref": "#/components/schemas/api.ModuleInfoResponse"
"$ref": "#/components/schemas/api.PackageSourcesResponse"
},
"type": "array"
},