Skip to content

Commit

Permalink
Merge pull request #5 from ayeshLK/client_gen
Browse files Browse the repository at this point in the history
Remove unwanted API definition
  • Loading branch information
ayeshLK authored Mar 25, 2024
2 parents 830792e + d4de935 commit d0ddff4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 54 deletions.
14 changes: 0 additions & 14 deletions ballerina/client.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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<anydata> 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.
Expand Down
40 changes: 0 additions & 40 deletions docs/spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d0ddff4

Please sign in to comment.