-
Notifications
You must be signed in to change notification settings - Fork 1
Add OpenAPI spec and generate Ballerina connector with test cases for PayPal Invoice #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 27 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
3ea7860
Update sanitation documentation with author and date, and refine nami…
DharshanSR fd38ffc
[Automated] Update the toml files
DharshanSR 06bac32
Refine TODO comments for keywords and icon in Ballerina.toml
DharshanSR 119d3d8
Add generated client implementation with API operations, data types, …
DharshanSR 278a6d3
Add PayPal Invoice API specification JSON file
DharshanSR b864a89
[Automated] Update the toml files
DharshanSR 1ea4618
[Automated] Update the toml files
DharshanSR ee3bbcf
[Automated] Update the toml files
DharshanSR aef0077
Add comprehensive PayPal invoice API tests
DharshanSR 35bbd56
Add the test cases for record payment and test case for external paym…
DharshanSR 5b634f9
Test case to generate QR code for an invoice
DharshanSR 950eb83
Add the Test case to show invoice details
DharshanSR 18ee9f0
Add the test case for delete invoice
DharshanSR 3a0222d
Add the mock test for paypal mock server
DharshanSR 65a2fb2
Refactor PayPal client initialization and update service URL configur…
DharshanSR 31294ed
Update distribution version and add new test packages and modules in …
DharshanSR 02a1373
refactor: replace old OpenAPI spec with flattened version for better …
DharshanSR 8fa9bdd
docs: add detailed sanitation notes for flattened OpenAPI spec adjust…
DharshanSR 6e601d7
feat: regenerate connector using flattened OpenAPI specification
DharshanSR 96f6916
feat: regenerate connector and add live server test cases
DharshanSR dd5d3d1
feat: Write mock test cases for the mock service local testing
DharshanSR 69ef6a8
Refactor: Update file permissions for build scripts and remove unused…
DharshanSR 94b3f18
[Automated] Update the toml files
DharshanSR 8afc8fb
chore: Add Apache 2.0 license headers to core source files
DharshanSR 3aac42f
fix: Update sanitation paths in OpenAPI specification for mock server…
DharshanSR 73e5b95
chore: Add Apache 2.0 license headers to test files and update test g…
DharshanSR 3e1e97e
fix: Update distribution version in Dependencies.toml and change file…
DharshanSR 8db08a5
[Automated] Update the toml files
DharshanSR 95a7d6f
Update sanitations for OpenAPI specification
DharshanSR 73e01ef
Implement code changes to enhance functionality and improve performan…
DharshanSR 52e4c27
Update API endpoints and improve error handling in invoice service te…
DharshanSR 76715fa
Add the image and keywords
DharshanSR f04d6b6
Refactor invoice creation response to return directly instead of usin…
DharshanSR 7a9c5e4
[Automated] Update the toml files
DharshanSR 2808d31
[Automated] Update the toml files
DharshanSR 67c9236
docs: Refine OpenAPI sanitization for PayPal Invoicing v2
DharshanSR c2b3fce
refactor: Update invoice headers to use specific record types for bet…
DharshanSR 878344a
refactor: Simplify invoice and payment handling in mock service and l…
DharshanSR eb13d09
fix: Ensure newline at end of file in gradle.properties
DharshanSR 8a0b062
[Automated] Update the toml files
DharshanSR f11bc10
feat: Introduce InvoicesUpdateHeaders type and update function signat…
DharshanSR 94fc585
refactor: Enhance invoice handling by updating default invoice struct…
DharshanSR 432ba45
fix: Update distribution version and sanitize OpenAPI paths for invoi…
DharshanSR 5ee52eb
[Automated] Update the toml files
DharshanSR e1af5f2
feat: Initialize mock service with test data and default config values
DharshanSR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,354 @@ | ||
| # AUTO-GENERATED FILE. DO NOT MODIFY. | ||
|
|
||
| # This file is auto-generated by Ballerina for managing dependency versions. | ||
| # It should not be modified by hand. | ||
|
|
||
| [ballerina] | ||
| dependencies-toml-version = "2" | ||
| distribution-version = "2201.12.7" | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "auth" | ||
| version = "2.14.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "crypto"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.array"}, | ||
| {org = "ballerina", name = "lang.string"}, | ||
| {org = "ballerina", name = "log"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "cache" | ||
| version = "3.10.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "constraint"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "task"}, | ||
| {org = "ballerina", name = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "constraint" | ||
| version = "1.7.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "constraint", moduleName = "constraint"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "crypto" | ||
| version = "2.9.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "data.jsondata" | ||
| version = "1.1.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.object"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "data.jsondata", moduleName = "data.jsondata"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "file" | ||
| version = "1.12.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "os"}, | ||
| {org = "ballerina", name = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "http" | ||
| version = "2.14.1" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "auth"}, | ||
| {org = "ballerina", name = "cache"}, | ||
| {org = "ballerina", name = "constraint"}, | ||
| {org = "ballerina", name = "crypto"}, | ||
| {org = "ballerina", name = "data.jsondata"}, | ||
| {org = "ballerina", name = "file"}, | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "jwt"}, | ||
| {org = "ballerina", name = "lang.array"}, | ||
| {org = "ballerina", name = "lang.decimal"}, | ||
| {org = "ballerina", name = "lang.int"}, | ||
| {org = "ballerina", name = "lang.regexp"}, | ||
| {org = "ballerina", name = "lang.runtime"}, | ||
| {org = "ballerina", name = "lang.string"}, | ||
| {org = "ballerina", name = "lang.value"}, | ||
| {org = "ballerina", name = "log"}, | ||
| {org = "ballerina", name = "mime"}, | ||
| {org = "ballerina", name = "oauth2"}, | ||
| {org = "ballerina", name = "observe"}, | ||
| {org = "ballerina", name = "time"}, | ||
| {org = "ballerina", name = "url"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "http", moduleName = "http"}, | ||
| {org = "ballerina", packageName = "http", moduleName = "http.httpscerr"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "io" | ||
| version = "1.8.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.value"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "io", moduleName = "io"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "jballerina.java" | ||
| version = "0.0.0" | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "jwt" | ||
| version = "2.15.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "cache"}, | ||
| {org = "ballerina", name = "crypto"}, | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.int"}, | ||
| {org = "ballerina", name = "lang.string"}, | ||
| {org = "ballerina", name = "log"}, | ||
| {org = "ballerina", name = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.__internal" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.object"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.array" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.__internal"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.decimal" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.error" | ||
| version = "0.0.0" | ||
| scope = "testOnly" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.int" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.__internal"}, | ||
| {org = "ballerina", name = "lang.object"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.object" | ||
| version = "0.0.0" | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.regexp" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.runtime" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "lang.runtime", moduleName = "lang.runtime"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.string" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.regexp"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "lang.value" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "log" | ||
| version = "2.12.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.value"}, | ||
| {org = "ballerina", name = "observe"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "mime" | ||
| version = "2.12.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.int"}, | ||
| {org = "ballerina", name = "log"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "oauth2" | ||
| version = "2.14.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "cache"}, | ||
| {org = "ballerina", name = "crypto"}, | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "log"}, | ||
| {org = "ballerina", name = "time"}, | ||
| {org = "ballerina", name = "url"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "observe" | ||
| version = "1.5.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "os" | ||
| version = "1.10.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "task" | ||
| version = "2.7.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "test" | ||
| version = "0.0.0" | ||
| scope = "testOnly" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "lang.array"}, | ||
| {org = "ballerina", name = "lang.error"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "test", moduleName = "test"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "time" | ||
| version = "2.7.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "time", moduleName = "time"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerina" | ||
| name = "url" | ||
| version = "2.6.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerina", packageName = "url", moduleName = "url"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerinai" | ||
| name = "observe" | ||
| version = "0.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "jballerina.java"}, | ||
| {org = "ballerina", name = "observe"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerinai", packageName = "observe", moduleName = "observe"} | ||
| ] | ||
|
|
||
| [[package]] | ||
| org = "ballerinax" | ||
| name = "paypal.invoices" | ||
| version = "1.0.0" | ||
| dependencies = [ | ||
| {org = "ballerina", name = "constraint"}, | ||
| {org = "ballerina", name = "data.jsondata"}, | ||
| {org = "ballerina", name = "http"}, | ||
| {org = "ballerina", name = "io"}, | ||
| {org = "ballerina", name = "lang.runtime"}, | ||
| {org = "ballerina", name = "test"}, | ||
| {org = "ballerina", name = "time"}, | ||
| {org = "ballerina", name = "url"}, | ||
| {org = "ballerinai", name = "observe"} | ||
| ] | ||
| modules = [ | ||
| {org = "ballerinax", packageName = "paypal.invoices", moduleName = "paypal.invoices"} | ||
| ] | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.