Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #34 from adamdecaf/rename-id-to-ID
Browse files Browse the repository at this point in the history
api,cmd/server: rename id to ID and fix compile
  • Loading branch information
adamdecaf authored Aug 13, 2019
2 parents cfb8519 + fd731a4 commit 2db23ee
Show file tree
Hide file tree
Showing 19 changed files with 288 additions and 288 deletions.
14 changes: 7 additions & 7 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ All URIs are relative to *http://localhost:8087*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*CustomersApi* | [**AddCustomerAddress**](docs/CustomersApi.md#addcustomeraddress) | **Post** /customers/{customer_id}/address | Add an Address onto an existing Customer record
*CustomersApi* | [**AddCustomerAddress**](docs/CustomersApi.md#addcustomeraddress) | **Post** /customers/{customerID}/address | Add an Address onto an existing Customer record
*CustomersApi* | [**CreateCustomer**](docs/CustomersApi.md#createcustomer) | **Post** /customers | Create a new customer
*CustomersApi* | [**GetCustomer**](docs/CustomersApi.md#getcustomer) | **Get** /customers/{customer_id} | Retrieves a Customer object associated with the customer ID.
*CustomersApi* | [**GetCustomerDocumentContents**](docs/CustomersApi.md#getcustomerdocumentcontents) | **Get** /customers/{customer_id}/documents/{document_id} | Retrieve the referenced document
*CustomersApi* | [**GetCustomerDocuments**](docs/CustomersApi.md#getcustomerdocuments) | **Get** /customers/{customer_id}/documents | Get documents for a customer
*CustomersApi* | [**GetCustomer**](docs/CustomersApi.md#getcustomer) | **Get** /customers/{customerID} | Retrieves a Customer object associated with the customer ID.
*CustomersApi* | [**GetCustomerDocumentContents**](docs/CustomersApi.md#getcustomerdocumentcontents) | **Get** /customers/{customerID}/documents/{documentID} | Retrieve the referenced document
*CustomersApi* | [**GetCustomerDocuments**](docs/CustomersApi.md#getcustomerdocuments) | **Get** /customers/{customerID}/documents | Get documents for a customer
*CustomersApi* | [**Ping**](docs/CustomersApi.md#ping) | **Get** /ping | Ping the Customers service to check if running
*CustomersApi* | [**ReplaceCustomerMetadata**](docs/CustomersApi.md#replacecustomermetadata) | **Put** /customers/{customer_id}/metadata | Replace the metadata object for a customer. Metadata is a map of unique keys associated to values to act as foreign key relationships or arbitrary data associated to a Customer.
*CustomersApi* | [**UpdateCustomerStatus**](docs/CustomersApi.md#updatecustomerstatus) | **Put** /customers/{customer_id}/status | Update the status for a customer, which can only be updated by authenticated users with permissions.
*CustomersApi* | [**UploadCustomerDocument**](docs/CustomersApi.md#uploadcustomerdocument) | **Post** /customers/{customer_id}/documents | Upload a document for the given customer.
*CustomersApi* | [**ReplaceCustomerMetadata**](docs/CustomersApi.md#replacecustomermetadata) | **Put** /customers/{customerID}/metadata | Replace the metadata object for a customer. Metadata is a map of unique keys associated to values to act as foreign key relationships or arbitrary data associated to a Customer.
*CustomersApi* | [**UpdateCustomerStatus**](docs/CustomersApi.md#updatecustomerstatus) | **Put** /customers/{customerID}/status | Update the status for a customer, which can only be updated by authenticated users with permissions.
*CustomersApi* | [**UploadCustomerDocument**](docs/CustomersApi.md#uploadcustomerdocument) | **Post** /customers/{customerID}/documents | Upload a document for the given customer.


## Documentation For Models
Expand Down
44 changes: 22 additions & 22 deletions client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ paths:
summary: Create a new customer
tags:
- Customers
/customers/{customer_id}:
/customers/{customerID}:
get:
operationId: getCustomer
parameters:
Expand All @@ -96,7 +96,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand All @@ -114,7 +114,7 @@ paths:
summary: Retrieves a Customer object associated with the customer ID.
tags:
- Customers
/customers/{customer_id}/address:
/customers/{customerID}/address:
post:
operationId: addCustomerAddress
parameters:
Expand All @@ -140,7 +140,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand Down Expand Up @@ -168,7 +168,7 @@ paths:
summary: Add an Address onto an existing Customer record
tags:
- Customers
/customers/{customer_id}/metadata:
/customers/{customerID}/metadata:
put:
operationId: replaceCustomerMetadata
parameters:
Expand All @@ -194,7 +194,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand Down Expand Up @@ -224,7 +224,7 @@ paths:
data associated to a Customer.
tags:
- Customers
/customers/{customer_id}/status:
/customers/{customerID}/status:
put:
operationId: updateCustomerStatus
parameters:
Expand All @@ -250,7 +250,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand Down Expand Up @@ -279,7 +279,7 @@ paths:
users with permissions.
tags:
- Customers
/customers/{customer_id}/documents:
/customers/{customerID}/documents:
get:
operationId: getCustomerDocuments
parameters:
Expand All @@ -305,7 +305,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand Down Expand Up @@ -346,7 +346,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6-d755-4455-9bd2-9577ea7e1081
Expand Down Expand Up @@ -388,7 +388,7 @@ paths:
summary: Upload a document for the given customer.
tags:
- Customers
/customers/{customer_id}/documents/{document_id}:
/customers/{customerID}/documents/{documentID}:
get:
operationId: getCustomerDocumentContents
parameters:
Expand All @@ -414,7 +414,7 @@ paths:
- description: Customer ID
explode: false
in: path
name: customer_id
name: customerID
required: true
schema:
example: e210a9d6
Expand All @@ -423,7 +423,7 @@ paths:
- description: Document ID
explode: false
in: path
name: document_id
name: documentID
required: true
schema:
example: 9577ea7e1081
Expand Down Expand Up @@ -555,7 +555,7 @@ components:
address1: address1
postalCode: postalCode
active: true
id: 851233a1
ID: 851233a1
state: state
type: Primary
- country: US
Expand All @@ -565,7 +565,7 @@ components:
address1: address1
postalCode: postalCode
active: true
id: 851233a1
ID: 851233a1
state: state
type: Primary
metadata:
Expand All @@ -583,12 +583,12 @@ components:
firstName: Robert
createdAt: 2000-01-23T04:56:07.000+00:00
middleName: Flex
id: e210a9d6
ID: e210a9d6
lastModified: 2000-01-23T04:56:07.000+00:00
email: email
status: Deceased
properties:
id:
ID:
description: The unique identifier for the customer who owns the account
example: e210a9d6
type: string
Expand Down Expand Up @@ -786,11 +786,11 @@ components:
address1: address1
postalCode: postalCode
active: true
id: 851233a1
ID: 851233a1
state: state
type: Primary
properties:
id:
ID:
description: Unique identifier for this Address
example: 851233a1
type: string
Expand Down Expand Up @@ -828,14 +828,14 @@ components:
Document:
example:
uploadedAt: 2000-01-23T04:56:07.000+00:00
id: e210a9d6
ID: e210a9d6
type: DriversLicense
parseErrors:
- parseErrors
- parseErrors
contentType: application/pdf
properties:
id:
ID:
description: The unique identifier for this document
example: e210a9d6
type: string
Expand Down
Loading

0 comments on commit 2db23ee

Please sign in to comment.