diff --git a/services/api-server/src/simcore_service_api_server/models/schemas/model_adapter.py b/services/api-server/src/simcore_service_api_server/models/schemas/model_adapter.py index e5a04e198c5..7765ad95980 100644 --- a/services/api-server/src/simcore_service_api_server/models/schemas/model_adapter.py +++ b/services/api-server/src/simcore_service_api_server/models/schemas/model_adapter.py @@ -141,4 +141,5 @@ class LicensedItemGet(BaseModel): assert set(LicensedItemGet.model_fields.keys()) == set( _LicensedItemGet.model_fields.keys() + - {"license_key"} # TODO: @bisgaard-itis please expose ) diff --git a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml index 93cf60aa82c..27bdb777e6f 100644 --- a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml +++ b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml @@ -10342,6 +10342,11 @@ components: name: type: string title: Name + licenseKey: + anyOf: + - type: string + - type: 'null' + title: Licensekey licensedResourceType: $ref: '#/components/schemas/LicensedResourceType' pricingPlanId: @@ -10361,6 +10366,7 @@ components: required: - licensedItemId - name + - licenseKey - licensedResourceType - pricingPlanId - createdAt