Skip to content
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

Trying to build compiled java code #1

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
- run: find openapi -name '*.json' -exec npm run lint-redocly -- {} \;
- run: find openapi -name '*.json' -exec npm run lint-spectral -- {} \;
- run: find openapi -name '*.json' -exec npm run lint-openapi -- {} \;
- run: find openapi -name '*.json' -exec npm run codegen-java -- {} \; -exec rm -rf generated/java \;
- run: find openapi -name '*.json' -exec npm run codegen-java -- {} \; -exec cd generated/java \; -exec mvn clean install \; -exec cd ../.. \; -exec rm -rf generated/java \;
- run: find openapi -name '*.json' -exec npm run codegen-typescript-node -- {} \; -exec rm -rf generated/typescript-node \;
126 changes: 13 additions & 113 deletions openapi/billing_subscriptions_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -271,13 +264,6 @@
"$ref": "#/components/parameters/statuses"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -375,13 +361,6 @@
"$ref": "#/components/parameters/fields"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -504,13 +483,6 @@
"requestBody": {
"$ref": "#/components/requestBodies/patch_request"
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -615,13 +587,6 @@
"$ref": "#/components/parameters/id"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -726,13 +691,6 @@
"$ref": "#/components/parameters/id"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -868,13 +826,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"plans"
]
Expand Down Expand Up @@ -1023,13 +974,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1127,13 +1071,6 @@
"$ref": "#/components/parameters/fields"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1256,13 +1193,6 @@
"requestBody": {
"$ref": "#/components/requestBodies/patch_request"
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1410,13 +1340,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1552,13 +1475,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1694,13 +1610,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1836,13 +1745,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -1991,13 +1893,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -2115,13 +2010,6 @@
"$ref": "#/components/parameters/end_time"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"subscriptions"
]
Expand Down Expand Up @@ -2169,7 +2057,19 @@
}
},
"securitySchemes": {
"Oauth2": {
"sandbox": {
"type": "oauth2",
"description": "Oauth 2.0 authentication",
"flows": {
"clientCredentials": {
"tokenUrl": "https://api-m.sandbox.paypal.com/v1/oauth2/token",
"scopes": {
"https://uri.paypal.com/services/subscriptions": "Manage plan & subscription"
}
}
}
},
"production": {
"type": "oauth2",
"description": "Oauth 2.0 authentication",
"flows": {
Expand Down
42 changes: 13 additions & 29 deletions openapi/catalogs_products_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"products"
]
Expand Down Expand Up @@ -244,13 +237,6 @@
"$ref": "#/components/parameters/total_required"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"products"
]
Expand Down Expand Up @@ -345,13 +331,6 @@
"$ref": "#/components/parameters/product_id"
}
],
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"products"
]
Expand Down Expand Up @@ -485,13 +464,6 @@
}
}
},
"security": [
{
"Oauth2": [
"https://uri.paypal.com/services/subscriptions"
]
}
],
"tags": [
"products"
]
Expand Down Expand Up @@ -519,7 +491,19 @@
],
"components": {
"securitySchemes": {
"Oauth2": {
"sandbox": {
"type": "oauth2",
"description": "Oauth 2.0 authentication",
"flows": {
"clientCredentials": {
"tokenUrl": "https://api-m.sandbox.paypal.com/v1/oauth2/token",
"scopes": {
"https://uri.paypal.com/services/subscriptions": "Create and manage products"
}
}
}
},
"production": {
"type": "oauth2",
"description": "Oauth 2.0 authentication",
"flows": {
Expand Down
Loading