Add "description" field to the KindCacheConfig class, services and API
Description:
This task involves adding a new "description"
field to the Kind
class and ensuring that the new field is handled correctly in the services and API layers.
Requirements:
-
Kind Class:
- Add the
description
field to theKind
class. - Ensure that this field is non-nullable and properly initialized.
- Add the
-
Services:
- Update any services that handle
Kind
objects to manage the newdescription
field. - Ensure that the
description
field is validated where necessary.
- Update any services that handle
-
API:
- Extend the API endpoints that expose
Kind
objects to include the newdescription
field. - Update Swagger documentation to reflect the new field in the relevant API responses.
- Extend the API endpoints that expose
Acceptance Criteria:
-
The Kind
class includes a non-nullabledescription
field. -
Services interacting with Kind
handle thedescription
field. -
The API exposes the description
field, and the field is documented in Swagger. -
Tests are updated to reflect the new field.
Edited by Rostislav Dublin (EPAM)