diff --git a/ballerina/client.bal b/ballerina/client.bal index 8b2f329..d6e197d 100644 --- a/ballerina/client.bal +++ b/ballerina/client.bal @@ -305,20 +305,6 @@ public isolated client class Client { return response; } - # Returns a list of the lines-of-business of a quote or application. - # - # + systemId - System identifier of the quote or application. - # + continuationId - Indicates the starting offset for the API results when you want to return a specific portion of the full results. - # + 'limit - Indicates the maximum number of results to return. - # + return - Successful operation. - resource isolated function get applications/[string systemId]/lines(string? continuationId = (), string? 'limit = ()) returns ListDriver|error { - string resourcePath = string `/applications/${getEncodedUri(systemId)}/lines`; - map queryParam = {"continuationId": continuationId, "limit": 'limit}; - resourcePath = resourcePath + check getPathForQueryParam(queryParam); - ListDriver response = check self.clientEp->get(resourcePath); - return response; - } - # Returns the list of documents attached to a claim. # # + systemId - System identifier of the claim. diff --git a/docs/spec/openapi.yml b/docs/spec/openapi.yml index a341e50..537c449 100644 --- a/docs/spec/openapi.yml +++ b/docs/spec/openapi.yml @@ -771,46 +771,6 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" - "500": - description: Unexpected internal error. - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - /applications/{systemId}/lines: - get: - operationId: getLinesOfBusiness - description: Returns a list of the lines-of-business of a quote or application. - parameters: - - in: path - name: systemId - description: System identifier of the quote or application. - schema: - type: string - required: true - - in: query - name: continuationId - schema: - type: string - description: Indicates the starting offset for the API results when you want to return a specific portion of the full results. - - in: query - name: limit - schema: - type: string - description: Indicates the maximum number of results to return. - responses: - "200": - description: Successful operation. - content: - application/json: - schema: - $ref: "#/components/schemas/ListDriver" - "400": - description: Error with the submitted request. - content: - application/json: - schema: - $ref: "#/components/schemas/Error" "500": description: Unexpected internal error. content: