Skip to content

Commit

Permalink
Generated Xendit go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
xendit-devx-bot committed Sep 20, 2023
1 parent 2ad02a2 commit 15b9b81
Show file tree
Hide file tree
Showing 627 changed files with 91,774 additions and 18,943 deletions.
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion .env.example

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
41 changes: 0 additions & 41 deletions .github/workflows/coverage.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/generate-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Release Tag
on:
repository_dispatch:
types: [create-release-tag]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set the value in bash
id: parse-changelog
run: |
echo "changelog<<EOF" >> "$GITHUB_OUTPUT"
echo "${{ github.event.client_payload.changelog }}" | tr -s '%0A' '\n' >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create-release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
with:
tag_name: v${{ github.event.client_payload.version }}
release_name: v${{ github.event.client_payload.version }}
body: ${{ steps.parse-changelog.outputs.changelog }}
draft: false
prerelease: false
25 changes: 0 additions & 25 deletions .github/workflows/lint.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/test.yml

This file was deleted.

39 changes: 18 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Folders
_obj
_test

# Dependency directories (remove the comment below to include it)
# vendor/
bin/
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

# IDE configuration files
.idea
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

# Environment files
.env
_testmain.go

*.coverprofile
*.cov
*.vscode
DS_Store
*.exe
*.test
*.prof
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
38 changes: 38 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.github/dependabot.yml
.github/workflows/generate-release-tag.yml
.gitignore
LICENSE
README.md
client.go
common/common.go
configuration.go
docs/RefundApi.md
docs/header.jpg
docs/refund.yaml
docs/refund/CreateRefund.md
docs/refund/CreateRefund400Response.md
docs/refund/CreateRefund403Response.md
docs/refund/CreateRefund404Response.md
docs/refund/CreateRefund409Response.md
docs/refund/CreateRefund503Response.md
docs/refund/CreateRefundDefaultResponse.md
docs/refund/Refund.md
docs/refund/RefundList.md
go.mod
go.sum
refund/api_refund.go
refund/model_create_refund.go
refund/model_create_refund_400_response.go
refund/model_create_refund_403_response.go
refund/model_create_refund_404_response.go
refund/model_create_refund_409_response.go
refund/model_create_refund_503_response.go
refund/model_create_refund_default_response.go
refund/model_refund.go
refund/model_refund_list.go
refund/nullable.go
response.go
test/api_refund_test.go
utils/helpers.go
utils/utils.go
xendit.go
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.6.0
26 changes: 0 additions & 26 deletions .pre-commit-config.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Xendit
Copyright (c) 2017-2023 Xendit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
14 changes: 0 additions & 14 deletions Makefile

This file was deleted.

Loading

0 comments on commit 15b9b81

Please sign in to comment.