Skip to content

Commit

Permalink
client: generate after api language cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Nov 25, 2019
1 parent a347f0f commit 764f9f3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ All URIs are relative to *http://localhost:8084*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*WatchmanApi* | [**AddOfacCompanyNameWatch**](docs/WatchmanApi.md#addofaccompanynamewatch) | **Post** /ofac/companies/watch | Add company watch by name. The match percentage will be included in the webhook's JSON payload.
*WatchmanApi* | [**AddOfacCompanyWatch**](docs/WatchmanApi.md#addofaccompanywatch) | **Post** /ofac/companies/{companyID}/watch | Add OFAC watch on a Company
*WatchmanApi* | [**AddOfacCompanyWatch**](docs/WatchmanApi.md#addofaccompanywatch) | **Post** /ofac/companies/{companyID}/watch | Add watch on a OFAC Company
*WatchmanApi* | [**AddOfacCustomerNameWatch**](docs/WatchmanApi.md#addofaccustomernamewatch) | **Post** /ofac/customers/watch | Add customer watch by name. The match percentage will be included in the webhook's JSON payload.
*WatchmanApi* | [**AddOfacCustomerWatch**](docs/WatchmanApi.md#addofaccustomerwatch) | **Post** /ofac/customers/{customerID}/watch | Add OFAC watch on a Customer
*WatchmanApi* | [**GetLatestDownloads**](docs/WatchmanApi.md#getlatestdownloads) | **Get** /downloads | Return list of recent downloads of OFAC data
*WatchmanApi* | [**AddOfacCustomerWatch**](docs/WatchmanApi.md#addofaccustomerwatch) | **Post** /ofac/customers/{customerID}/watch | Add watch on a OFAC Customer
*WatchmanApi* | [**GetLatestDownloads**](docs/WatchmanApi.md#getlatestdownloads) | **Get** /downloads | Return list of recent downloads of list data
*WatchmanApi* | [**GetOfacCompany**](docs/WatchmanApi.md#getofaccompany) | **Get** /ofac/companies/{companyID} | Get information about a company, trust or organization such as addresses, alternate names, and remarks.
*WatchmanApi* | [**GetOfacCustomer**](docs/WatchmanApi.md#getofaccustomer) | **Get** /ofac/customers/{customerID} | Get information about a customer, addresses, alternate names, and their SDN metadata.
*WatchmanApi* | [**GetSDN**](docs/WatchmanApi.md#getsdn) | **Get** /ofac/sdn/{sdnID} | Specially designated national
Expand Down
8 changes: 4 additions & 4 deletions client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ paths:
description: Company watch added
404:
description: Company not found
summary: Add OFAC watch on a Company
summary: Add watch on a OFAC Company
tags:
- Watchman
/ofac/companies/{companyID}/watch/{watchID}:
Expand Down Expand Up @@ -435,7 +435,7 @@ paths:
description: Customer watch added
404:
description: Customer not found
summary: Add OFAC watch on a Customer
summary: Add watch on a OFAC Customer
tags:
- Watchman
/ofac/customers/{customerID}/watch/{watchID}:
Expand Down Expand Up @@ -833,7 +833,7 @@ paths:
type: integer
style: form
- description: Optional filter to only return SDNs whose type case-insensitively
matches
matches.
explode: true
in: query
name: sdnType
Expand Down Expand Up @@ -900,7 +900,7 @@ paths:
schema:
$ref: '#/components/schemas/Downloads'
description: Recent timestamps and counts of parsed objects
summary: Return list of recent downloads of OFAC data
summary: Return list of recent downloads of list data
tags:
- Watchman
/ui/values/{key}:
Expand Down
8 changes: 4 additions & 4 deletions client/api_watchman.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ type AddOfacCompanyWatchOpts struct {
}

/*
AddOfacCompanyWatch Add OFAC watch on a Company
AddOfacCompanyWatch Add watch on a OFAC Company
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param companyID Company ID
* @param ofacWatchRequest
Expand Down Expand Up @@ -347,7 +347,7 @@ type AddOfacCustomerWatchOpts struct {
}

/*
AddOfacCustomerWatch Add OFAC watch on a Customer
AddOfacCustomerWatch Add watch on a OFAC Customer
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param customerID Customer ID
* @param ofacWatchRequest
Expand Down Expand Up @@ -453,7 +453,7 @@ type GetLatestDownloadsOpts struct {
}

/*
GetLatestDownloads Return list of recent downloads of OFAC data
GetLatestDownloads Return list of recent downloads of list data
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param optional nil or *GetLatestDownloadsOpts - Optional Parameters:
* @param "XRequestID" (optional.String) - Optional Request ID allows application developer to trace requests through the systems logs
Expand Down Expand Up @@ -1592,7 +1592,7 @@ Search Search SDN names and metadata
* @param "AltName" (optional.String) - Alternate name which could correspond to a human on the SDN list. Only Alt name results will be returned.
* @param "Id" (optional.String) - ID value often found in remarks property of an SDN. Takes the form of 'No. NNNNN' as an alphanumeric value.
* @param "Limit" (optional.Int32) - Maximum results returned by a search
* @param "SdnType" (optional.String) - Optional filter to only return SDNs whose type case-insensitively matches
* @param "SdnType" (optional.String) - Optional filter to only return SDNs whose type case-insensitively matches.
* @param "Program" (optional.String) - Optional filter to only return SDNs whose program case-insensitively matches
@return Search
*/
Expand Down
14 changes: 7 additions & 7 deletions client/docs/WatchmanApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ All URIs are relative to *http://localhost:8084*
Method | HTTP request | Description
------------- | ------------- | -------------
[**AddOfacCompanyNameWatch**](WatchmanApi.md#AddOfacCompanyNameWatch) | **Post** /ofac/companies/watch | Add company watch by name. The match percentage will be included in the webhook's JSON payload.
[**AddOfacCompanyWatch**](WatchmanApi.md#AddOfacCompanyWatch) | **Post** /ofac/companies/{companyID}/watch | Add OFAC watch on a Company
[**AddOfacCompanyWatch**](WatchmanApi.md#AddOfacCompanyWatch) | **Post** /ofac/companies/{companyID}/watch | Add watch on a OFAC Company
[**AddOfacCustomerNameWatch**](WatchmanApi.md#AddOfacCustomerNameWatch) | **Post** /ofac/customers/watch | Add customer watch by name. The match percentage will be included in the webhook's JSON payload.
[**AddOfacCustomerWatch**](WatchmanApi.md#AddOfacCustomerWatch) | **Post** /ofac/customers/{customerID}/watch | Add OFAC watch on a Customer
[**GetLatestDownloads**](WatchmanApi.md#GetLatestDownloads) | **Get** /downloads | Return list of recent downloads of OFAC data
[**AddOfacCustomerWatch**](WatchmanApi.md#AddOfacCustomerWatch) | **Post** /ofac/customers/{customerID}/watch | Add watch on a OFAC Customer
[**GetLatestDownloads**](WatchmanApi.md#GetLatestDownloads) | **Get** /downloads | Return list of recent downloads of list data
[**GetOfacCompany**](WatchmanApi.md#GetOfacCompany) | **Get** /ofac/companies/{companyID} | Get information about a company, trust or organization such as addresses, alternate names, and remarks.
[**GetOfacCustomer**](WatchmanApi.md#GetOfacCustomer) | **Get** /ofac/customers/{customerID} | Get information about a customer, addresses, alternate names, and their SDN metadata.
[**GetSDN**](WatchmanApi.md#GetSDN) | **Get** /ofac/sdn/{sdnID} | Specially designated national
Expand Down Expand Up @@ -76,7 +76,7 @@ No authorization required

> OfacWatch AddOfacCompanyWatch(ctx, companyID, ofacWatchRequest, optional)
Add OFAC watch on a Company
Add watch on a OFAC Company

### Required Parameters

Expand Down Expand Up @@ -168,7 +168,7 @@ No authorization required

> OfacWatch AddOfacCustomerWatch(ctx, customerID, ofacWatchRequest, optional)
Add OFAC watch on a Customer
Add watch on a OFAC Customer

### Required Parameters

Expand Down Expand Up @@ -214,7 +214,7 @@ No authorization required

> []Download GetLatestDownloads(ctx, optional)
Return list of recent downloads of OFAC data
Return list of recent downloads of list data

### Required Parameters

Expand Down Expand Up @@ -762,7 +762,7 @@ Name | Type | Description | Notes
**altName** | **optional.String**| Alternate name which could correspond to a human on the SDN list. Only Alt name results will be returned. |
**id** | **optional.String**| ID value often found in remarks property of an SDN. Takes the form of 'No. NNNNN' as an alphanumeric value. |
**limit** | **optional.Int32**| Maximum results returned by a search |
**sdnType** | **optional.String**| Optional filter to only return SDNs whose type case-insensitively matches |
**sdnType** | **optional.String**| Optional filter to only return SDNs whose type case-insensitively matches. |
**program** | **optional.String**| Optional filter to only return SDNs whose program case-insensitively matches |

### Return type
Expand Down

0 comments on commit 764f9f3

Please sign in to comment.