Skip to content

Commit f495cec

Browse files
authored
Update tests (#64)
* Update tests * go mod tidy in action * change go version * remove testify
1 parent 0c841c0 commit f495cec

File tree

115 files changed

+7780
-2668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+7780
-2668
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
npm install -g @mockoon/cli
2222
npx mockoon-cli start --data https://raw.githubusercontent.com/conekta/openapi/main/mocks/conekta_api.json --port 3000
2323
- name: Run tests
24-
run: go test -v --race ./...
24+
run: |
25+
go test -v --race ./...
2526
env:
2627
BASE_PATH: localhost:3000

.openapi-generator-ignore

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,8 @@
44
# Use this file to prevent files from being overwritten by the generator.
55
# The patterns follow closely to .gitignore or .dockerignore.
66

7-
# As an example, the C# client generator defines ApiClient.cs.
8-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9-
#ApiClient.cs
10-
11-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12-
#foo/*/qux
13-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14-
15-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16-
#foo/**/qux
17-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18-
19-
# You can also negate patterns with an exclamation (!).
20-
# For example, you can ignore all files in a docs folder with the file extension .md:
21-
#docs/*.md
22-
# Then explicitly reverse the ignore rule for a single file:
23-
#!docs/README.md
7+
git_push.sh
8+
.travis.yml
9+
.gitignore
10+
go.mod
11+
go.sum

.openapi-generator/FILES

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
.gitignore
2-
.travis.yml
31
AUTHORS.md
42
CODE_OF_CONDUCT.md
53
LICENSE
64
README.md
75
api/openapi.yaml
86
api_antifraud.go
97
api_api_keys.go
8+
api_balances.go
109
api_charges.go
1110
api_companies.go
1211
api_customers.go
@@ -35,8 +34,12 @@ docs/ApiKeyCreateResponse.md
3534
docs/ApiKeyCreateResponseAllOf.md
3635
docs/ApiKeyRequest.md
3736
docs/ApiKeyResponse.md
37+
docs/ApiKeyResponseOnDelete.md
3838
docs/ApiKeyUpdateRequest.md
3939
docs/ApiKeysApi.md
40+
docs/BalanceCommonField.md
41+
docs/BalanceResponse.md
42+
docs/BalancesApi.md
4043
docs/BlacklistRuleResponse.md
4144
docs/ChargeDataPaymentMethodBankTransferResponse.md
4245
docs/ChargeDataPaymentMethodCardResponse.md
@@ -126,6 +129,8 @@ docs/GetCompaniesResponseAllOf.md
126129
docs/GetCustomerPaymentMethodDataResponse.md
127130
docs/GetEventsResponse.md
128131
docs/GetEventsResponseAllOf.md
132+
docs/GetOrderDiscountLinesResponse.md
133+
docs/GetOrderDiscountLinesResponseAllOf.md
129134
docs/GetOrdersResponse.md
130135
docs/GetPaymentMethodResponse.md
131136
docs/GetPaymentMethodResponseAllOf.md
@@ -166,6 +171,7 @@ docs/OrderResponseShippingContact.md
166171
docs/OrderResponseShippingContactAllOf.md
167172
docs/OrderTaxRequest.md
168173
docs/OrderUpdateRequest.md
174+
docs/OrderUpdateRequestCustomerInfo.md
169175
docs/OrdersApi.md
170176
docs/OrdersResponse.md
171177
docs/Page.md
@@ -248,14 +254,16 @@ docs/WebhookResponse.md
248254
docs/WebhookUpdateRequest.md
249255
docs/WebhooksApi.md
250256
docs/WhitelistlistRuleResponse.md
251-
git_push.sh
252257
go.mod
253258
go.sum
254259
model_api_key_create_response.go
255260
model_api_key_create_response_all_of.go
256261
model_api_key_request.go
257262
model_api_key_response.go
263+
model_api_key_response_on_delete.go
258264
model_api_key_update_request.go
265+
model_balance_common_field.go
266+
model_balance_response.go
259267
model_blacklist_rule_response.go
260268
model_charge_data_payment_method_bank_transfer_response.go
261269
model_charge_data_payment_method_card_response.go
@@ -341,6 +349,8 @@ model_get_companies_response_all_of.go
341349
model_get_customer_payment_method_data_response.go
342350
model_get_events_response.go
343351
model_get_events_response_all_of.go
352+
model_get_order_discount_lines_response.go
353+
model_get_order_discount_lines_response_all_of.go
344354
model_get_orders_response.go
345355
model_get_payment_method_response.go
346356
model_get_payment_method_response_all_of.go
@@ -379,6 +389,7 @@ model_order_response_shipping_contact.go
379389
model_order_response_shipping_contact_all_of.go
380390
model_order_tax_request.go
381391
model_order_update_request.go
392+
model_order_update_request_customer_info.go
382393
model_orders_response.go
383394
model_page.go
384395
model_pagination.go

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
6.6.0

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 233 additions & 217 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)