-
Notifications
You must be signed in to change notification settings - Fork 2
chore: bump API version to v2025-11-15 #38
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,54 +1,105 @@ | ||
| --- | ||
| workflowVersion: 1.0.0 | ||
| speakeasyVersion: latest | ||
| sources: | ||
| Gusto-App-Int-OAS: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/main/generated/app-integrations/api.v2025-06-15.app-integrations.yaml | ||
| authHeader: Authorization | ||
| authSecret: $openapi_doc_auth_token | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-app-int-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: $openapi_doc_auth_token | ||
| - location: gusto_app_int/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas | ||
| Gusto-OAS: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/generated/embedded/api.v2025-06-15.embedded.yaml | ||
| authHeader: Authorization | ||
| authSecret: $openapi_doc_auth_token | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: $openapi_doc_auth_token | ||
| - location: gusto_embedded/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas | ||
| Gusto-App-Int-OAS: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/main/generated/app-integrations/api.v2025-06-15.app-integrations.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-app-int-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| - location: gusto_app_int/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas | ||
| Gusto-OAS: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/generated/embedded/api.v2025-06-15.embedded.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| - location: gusto_embedded/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas | ||
| Gusto-App-Int-OAS-v2025-11-15: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/main/generated/app-integrations/api.v2025-11-15.app-integrations.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-app-int-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| - location: gusto_app_int_v_2025_11_15/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas-v2025-11-15 | ||
| Gusto-OAS-v2025-11-15: | ||
| inputs: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/generated/embedded/api.v2025-11-15.embedded.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| overlays: | ||
| - location: https://raw.githubusercontent.com/Gusto/Gusto-Partner-API/refs/heads/main/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| authHeader: Authorization | ||
| authSecret: "$openapi_doc_auth_token" | ||
| - location: gusto_embedded_v_2025_11_15/.speakeasy/speakeasy-modifications-overlay.yaml | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas-v2025-11-15 | ||
| targets: | ||
| gusto: | ||
| target: python | ||
| source: Gusto-OAS | ||
| output: ./gusto_embedded | ||
| publish: | ||
| pypi: | ||
| token: $pypi_token | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas-python-code-samples | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false | ||
| gusto-app-int: | ||
| target: python | ||
| source: Gusto-App-Int-OAS | ||
| output: gusto_app_int | ||
| publish: | ||
| pypi: | ||
| token: $pypi_token | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas-python-code-samples | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false | ||
| gusto: | ||
| target: python | ||
| source: Gusto-OAS | ||
| output: "./gusto_embedded" | ||
| publish: | ||
| pypi: | ||
| token: "$pypi_token" | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas-python-code-samples | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false | ||
| gusto-app-int: | ||
| target: python | ||
| source: Gusto-App-Int-OAS | ||
| output: gusto_app_int | ||
| publish: | ||
| pypi: | ||
| token: "$pypi_token" | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas-python-code-samples | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false | ||
| gusto-v2025-11-15: | ||
| target: python | ||
| source: Gusto-OAS-v2025-11-15 | ||
| output: "./gusto_embedded_v_2025_11_15" | ||
| publish: | ||
| pypi: | ||
| token: "$pypi_token" | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-oas-python-code-samples-v2025-11-15 | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false | ||
| gusto-app-int-v2025-11-15: | ||
| target: python | ||
| source: Gusto-App-Int-OAS-v2025-11-15 | ||
| output: gusto_app_int_v_2025_11_15 | ||
| publish: | ||
| pypi: | ||
| token: "$pypi_token" | ||
| codeSamples: | ||
| registry: | ||
| location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-app-int-oas-python-code-samples-v2025-11-15 | ||
| labelOverride: | ||
| fixedValue: Python (SDK) | ||
| blocking: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| configVersion: 2.0.0 | ||
| generation: | ||
| sdkClassName: GustoAppIntegration | ||
| maintainOpenAPIOrder: true | ||
| usageSnippets: | ||
| optionalPropertyRendering: withExample | ||
| useClassNamesForArrayFields: true | ||
| fixes: | ||
| nameResolutionDec2023: true | ||
| nameResolutionFeb2025: false | ||
| parameterOrderingFeb2024: true | ||
| requestResponseComponentNamesFeb2024: true | ||
| securityFeb2025: true | ||
| sharedErrorComponentsApr2025: false | ||
| auth: | ||
| oAuth2ClientCredentialsEnabled: true | ||
| oAuth2PasswordEnabled: true | ||
| python: | ||
| version: 0.0.1 | ||
| additionalDependencies: | ||
| dev: {} | ||
| main: {} | ||
| authors: | ||
| - Speakeasy | ||
| clientServerStatusCodesAsErrors: true | ||
| defaultErrorName: APIError | ||
| description: Python Client SDK Generated by Speakeasy. | ||
| enableCustomCodeRegions: false | ||
| enumFormat: enum | ||
| fixFlags: | ||
| responseRequiredSep2024: true | ||
| flattenGlobalSecurity: true | ||
| flattenRequests: true | ||
| flatteningOrder: parameters-first | ||
| imports: | ||
| option: openapi | ||
| paths: | ||
| callbacks: '' | ||
| errors: '' | ||
| operations: '' | ||
| shared: '' | ||
| webhooks: '' | ||
| inputModelSuffix: input | ||
| license: MIT | ||
| maxMethodParams: 999 | ||
| methodArguments: infer-optional-args | ||
| outputModelSuffix: output | ||
| packageName: gusto_app_integration_v_2025_11_15 | ||
| pytestTimeout: 0 | ||
| responseFormat: flat | ||
| templateVersion: v2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| overlay: 1.0.0 | ||
| x-speakeasy-jsonpath: rfc9535 | ||
| info: | ||
| title: Speakeasy Modifications | ||
| version: 0.0.2 | ||
| x-speakeasy-metadata: | ||
| after: "" | ||
| before: "" | ||
| type: speakeasy-modifications | ||
| actions: | ||
| - target: $.paths..schema..zip | ||
| update: | ||
| x-speakeasy-name-override: zip_code | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| --- | ||
| configVersion: 2.0.0 | ||
| generation: | ||
| devContainers: | ||
| enabled: true | ||
| schemaPath: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-embedded-oas:main | ||
| sdkClassName: Gusto | ||
| maintainOpenAPIOrder: true | ||
| usageSnippets: | ||
| optionalPropertyRendering: withExample | ||
| useClassNamesForArrayFields: true | ||
| fixes: | ||
| nameResolutionDec2023: true | ||
| nameResolutionFeb2025: false | ||
| parameterOrderingFeb2024: true | ||
| requestResponseComponentNamesFeb2024: true | ||
| securityFeb2025: false | ||
| sharedErrorComponentsApr2025: false | ||
| auth: | ||
| oAuth2ClientCredentialsEnabled: true | ||
| oAuth2PasswordEnabled: true | ||
| python: | ||
| version: 0.0.1 | ||
| additionalDependencies: | ||
| dev: {} | ||
| main: {} | ||
| authors: | ||
| - Speakeasy | ||
| clientServerStatusCodesAsErrors: true | ||
| defaultErrorName: APIError | ||
| description: Python Client SDK Generated by Speakeasy. | ||
| enableCustomCodeRegions: false | ||
| enumFormat: enum | ||
| envVarPrefix: GUSTO | ||
| fixFlags: | ||
| responseRequiredSep2024: true | ||
| flattenGlobalSecurity: true | ||
| flattenRequests: true | ||
| flatteningOrder: parameters-first | ||
| imports: | ||
| option: openapi | ||
| paths: | ||
| callbacks: '' | ||
| errors: '' | ||
| operations: '' | ||
| shared: '' | ||
| webhooks: '' | ||
| inputModelSuffix: input | ||
| license: MIT | ||
| maxMethodParams: 999 | ||
| methodArguments: infer-optional-args | ||
| outputModelSuffix: output | ||
| packageName: gusto_embedded_v_2025_11_15 | ||
| pytestTimeout: 0 | ||
| responseFormat: flat | ||
| templateVersion: v2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| overlay: 1.0.0 | ||
| x-speakeasy-jsonpath: rfc9535 | ||
| info: | ||
| title: Speakeasy Modifications | ||
| version: 0.0.2 | ||
| x-speakeasy-metadata: | ||
| after: "" | ||
| before: "" | ||
| type: speakeasy-modifications | ||
| actions: | ||
| - target: $.paths..schema..zip | ||
| update: | ||
| x-speakeasy-name-override: zip_code | ||
|
Comment on lines
+10
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Blocker | Dropped overlay action: the original Please 👍🏽 👎🏽 if you found this useful. Generated by Fresh Eyes Reviewer. Get help in #ai-code-reviews |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Blocker |
[fresh_eyes]: code-movesDropped overlay action: the original
gusto_app_int/.speakeasy/speakeasy-modifications-overlay.yamlhas TWO actions —$.paths..schema..zipAND$.components.schemas..properties.zip— but the new versioned copy only includes the first one. The original comments explain both are needed because address schemas referenced via $ref live undercomponents.schemasand won't be caught by the$.paths..rule alone. Without the second rule, the generated v2025-11-15 SDK will shadow Python's built-inzip()for those schemas (causing pylint W0622 failures).Please 👍🏽 👎🏽 if you found this useful. Generated by Fresh Eyes Reviewer. Get help in #ai-code-reviews