API: Update content-services API schema
This updates content-services API schema so it includes end_date for modules.
This commit is contained in:
parent
fe8a96b174
commit
ba68556388
2 changed files with 16 additions and 4 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -639,15 +639,19 @@ export type ApiRepositoryRpmCollectionResponse = {
|
|||
links?: ApiLinks | undefined;
|
||||
meta?: ApiResponseMetadata | undefined;
|
||||
};
|
||||
export type ApiModuleInfoResponse = {
|
||||
export type ApiPackageSourcesResponse = {
|
||||
/** Architecture of the module */
|
||||
arch?: string | undefined;
|
||||
/** Context of the module */
|
||||
context?: string | undefined;
|
||||
/** Description of the module */
|
||||
description?: string | undefined;
|
||||
/** End date of the lifecycle */
|
||||
end_date?: string | undefined;
|
||||
/** Name of the module */
|
||||
name?: string | undefined;
|
||||
/** Start date of the lifecycle */
|
||||
start_date?: string | undefined;
|
||||
/** Stream of the module */
|
||||
stream?: string | undefined;
|
||||
/** Type of rpm (can be either 'package' or 'module') */
|
||||
|
|
@ -659,7 +663,7 @@ export type ApiSearchRpmResponse = {
|
|||
/** Package name found */
|
||||
package_name?: string | undefined;
|
||||
/** List of the module streams for the package */
|
||||
package_sources?: ApiModuleInfoResponse[] | undefined;
|
||||
package_sources?: ApiPackageSourcesResponse[] | undefined;
|
||||
/** Summary of the package found */
|
||||
summary?: string | undefined;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue