Loading services/TS29222_CAPIF_Publish_Service_API/published_apis/controllers/default_controller.py +7 −0 Original line number Diff line number Diff line Loading @@ -173,6 +173,13 @@ def apf_id_service_apis_service_api_id_put(service_api_id, apf_id, body): # noq current_app.logger.info( "Updating service api id with id: " + service_api_id) if 'supportedFeatures' not in body: return bad_request_error( detail="supportedFeatures not present in request", cause="supportedFeatures not present", invalid_params=[{"param": "supportedFeatures", "reason": "not defined"}] ) if request.is_json: body = ServiceAPIDescription.from_dict(request.get_json()) # noqa: E501 Loading Loading
services/TS29222_CAPIF_Publish_Service_API/published_apis/controllers/default_controller.py +7 −0 Original line number Diff line number Diff line Loading @@ -173,6 +173,13 @@ def apf_id_service_apis_service_api_id_put(service_api_id, apf_id, body): # noq current_app.logger.info( "Updating service api id with id: " + service_api_id) if 'supportedFeatures' not in body: return bad_request_error( detail="supportedFeatures not present in request", cause="supportedFeatures not present", invalid_params=[{"param": "supportedFeatures", "reason": "not defined"}] ) if request.is_json: body = ServiceAPIDescription.from_dict(request.get_json()) # noqa: E501 Loading