Skip to content

Commit

Permalink
Update OpenAPI Specification (#21)
Browse files Browse the repository at this point in the history
* Update OpenAPI Specification (swagger.json)

* Regenerate SDKs

* Regenerate SDKs

* Update submodule references

---------

Co-authored-by: konfig-bot[bot] <121480725+konfig-bot[bot]@users.noreply.github.com>
Co-authored-by: konfig-publisher <[email protected]>
  • Loading branch information
konfig-bot[bot] and konfig-publisher authored Sep 9, 2024
1 parent 566e716 commit 7708bef
Show file tree
Hide file tree
Showing 97 changed files with 850 additions and 217 deletions.
11 changes: 11 additions & 0 deletions .konfig/changesets/fancy-peas-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
java: patch
python: patch
typescript: patch
csharp: patch
php: patch
go: patch
phpGuzzle6: patch
---

Regenerate SDKs
11 changes: 11 additions & 0 deletions .konfig/changesets/seven-cameras-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
java: patch
python: patch
typescript: patch
csharp: patch
php: patch
go: patch
phpGuzzle6: patch
---

Regenerate SDKs
14 changes: 7 additions & 7 deletions STATISTICS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

| SDK Name | Lines of Code |
| -------- | ------------- |
| java | 41563 |
| python | 39681 |
| java | 42046 |
| python | 39710 |
| typescript | 12148 |
| csharp | 25649 |
| php | 42691 |
| go | 29955 |
| phpGuzzle6 | 42691 |
| **Total** | 234378 |
| csharp | 25643 |
| php | 42688 |
| go | 30063 |
| phpGuzzle6 | 42688 |
| **Total** | 234986 |
2 changes: 1 addition & 1 deletion csharp/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8f232c2d-a43b-4aba-86a4-78dd63617e4a
c843841b-083e-40be-bb4d-0edbe5ae7c3a
10 changes: 5 additions & 5 deletions csharp/Splitit.Web.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{2EF33B44-257F-4ABB-9692-510301491C4F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{5358AEEC-C8C8-414B-8060-B3D74EC9EBCD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net.Test", "src\Splitit.Web.Net.Test\Splitit.Web.Net.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2EF33B44-257F-4ABB-9692-510301491C4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2EF33B44-257F-4ABB-9692-510301491C4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2EF33B44-257F-4ABB-9692-510301491C4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2EF33B44-257F-4ABB-9692-510301491C4F}.Release|Any CPU.Build.0 = Release|Any CPU
{5358AEEC-C8C8-414B-8060-B3D74EC9EBCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5358AEEC-C8C8-414B-8060-B3D74EC9EBCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5358AEEC-C8C8-414B-8060-B3D74EC9EBCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5358AEEC-C8C8-414B-8060-B3D74EC9EBCD}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
8 changes: 1 addition & 7 deletions csharp/src/Splitit.Web.Net/Model/GwAuthorizationStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,7 @@ public enum GwAuthorizationStatus
/// Enum Canceled for value: Canceled
/// </summary>
[EnumMember(Value = "Canceled")]
Canceled = 5,

/// <summary>
/// Enum Voided for value: Voided
/// </summary>
[EnumMember(Value = "Voided")]
Voided = 6
Canceled = 5

}

Expand Down
2 changes: 1 addition & 1 deletion go/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8f232c2d-a43b-4aba-86a4-78dd63617e4a
c843841b-083e-40be-bb4d-0edbe5ae7c3a
4 changes: 1 addition & 3 deletions go/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1337,15 +1337,13 @@ components:
- Pending3DS
- Failed
- Canceled
- Voided
type: string
x-enumNames:
- NA
- Succeeded
- Pending3DS
- Failed
- Canceled
- Voided
ThreeDsRedirectDataV3:
example:
Verb: Verb
Expand Down Expand Up @@ -3209,4 +3207,4 @@ components:
tokenUrl: https://id.production.splitit.com/connect/token
type: oauth2
x-konfig-globally-required-security: true
x-generator: NSwag v14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))
x-generator: NSwag v14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))
96 changes: 81 additions & 15 deletions go/api_installment_plan.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions go/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions go/docs/GwAuthorizationStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

* `CANCELED` (value: `"Canceled"`)

* `VOIDED` (value: `"Voided"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 0 additions & 2 deletions go/model_gw_authorization_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7708bef

Please sign in to comment.