Skip to content

Update the Wise API specification - #30

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
automation/spec-acbfbb1c6b7d-5de6ab5
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
automation/spec-acbfbb1c6b7d-5de6ab5

Conversation

@github-actions

Copy link
Copy Markdown

Update the official Wise OpenAPI snapshot and regenerate both clients.

This change requires manual review because generation failed. Resolve the reported compatibility or generation failures, then regenerate before preparing a release.

  • Documentation changed: "/info/version"
  • Documentation changed: "/info/description"
  • Existing API contract changed or compatibility is unknown: "/servers"
  • Existing API contract changed or compatibility is unknown: "/tags"
  • Existing API contract changed or compatibility is unknown: "/x-tagGroups"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}~1account-details"
  • Existing API contract changed or compatibility is unknown: "/paths/1spend1profiles~1{profileId}1cards1{cardToken}1transactions/get/responses/400/content/application1problem+json/schema/properties/errors/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1spend1profiles~1{profileId}1cards1{cardToken}1transactions/get/responses/400/content/application1problem+json/schema/properties/errors/items/properties/detail/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1spend1profiles~1{profileId}1cards1{cardToken}1transactions/get/responses/400/content/application1problem+json/schema/properties/errors/items/properties/code/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1spend1profiles~1{profileId}1cards1{cardToken}1transactions/get/responses/400/content/application1problem+json/schema/properties/errors/items/properties/ref/description"
  • Existing API contract changed or compatibility is unknown: "/paths/~1comparisons/get/security"
  • Existing API contract changed or compatibility is unknown: "/paths/1auth1jose1playground1jwsjwe/post/operationId"
  • Existing API contract changed or compatibility is unknown: "/paths/1auth1jose1playground1jwsjwe/post/responses/400"
  • Existing API contract changed or compatibility is unknown: "/paths/1auth1jose1playground1jwsjwe/get"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1kyc-requirements1{requirementKey}/post/parameters"
  • Existing API contract changed or compatibility is unknown: "/paths/1cases1{caseId}/get/x-codeSamples"
  • Existing API contract changed or compatibility is unknown: "/paths/1cases1{caseId}1messages/post/responses/400/content/application1json/examples/filesNotUploadedByYou"
  • Documentation changed: "/paths/1profiles1business-profile/post/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1business-profile/post/requestBody/content/application~1json/schema/properties/businessRepresentative/properties/localizedInformation"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1business-profile/post/requestBody/content/application~1json/schema/properties/contactDetails"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1business-profile/post/requestBody/content/application~1json/examples/withRepresentativeDetails/value/businessRepresentative/localizedInformation"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1business-profile/post/requestBody/content/application~1json/examples/withRepresentativeDetails/value/contactDetails"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1business-profile/post/requestBody/content/application~1json/examples/withRepresentativeId/value/contactDetails"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1business-profile/put/requestBody/content/application1json/schema/properties/industryCategories/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1business-profile/put/requestBody/content/application1json/schema/properties/contactDetails"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1business-profile1business-representative/put/requestBody/content/application~1json/schema/properties/localizedInformation"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1business-profile1business-representative/put/requestBody/content/application~1json/examples/updateDetails/value/localizedInformation"
  • Documentation changed: "/paths/1profiles1{profileId}~1verification-documents/post/responses/422/description"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1ubos/post/requestBody/content/application1json/schema/items/properties/documentType"
  • Existing API contract changed or compatibility is unknown: "/paths/1profiles1{profileId}1ubos/post/requestBody/content/application1json/schema/items/properties/documentId"
Generation output

> generate
> node scripts/generate.mjs

node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

AssertionError [ERR_ASSERTION]: A new API quarter requires an explicit migration

'2026Q4' !== '2026Q3'

    at checkSpec (file:///home/runner/work/wise-sdk/wise-sdk/scripts/check-spec.mjs:44:10)
    at async file:///home/runner/work/wise-sdk/wise-sdk/scripts/check-spec.mjs:102:81 {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: '2026Q4',
  expected: '2026Q3',
  operator: 'strictEqual',
  diff: 'simple'
}

Node.js v24.21.0
file:///home/runner/work/wise-sdk/wise-sdk/scripts/generate.mjs:12
  if (result.status !== 0) throw new Error(`${command} exited ${result.status}\n${result.stdout ?? ""}\n${result.stderr ?? ""}`);
                                 ^

Error: /opt/hostedtoolcache/node/24.21.0/x64/bin/node exited 1


    at run (file:///home/runner/work/wise-sdk/wise-sdk/scripts/generate.mjs:12:34)
    at file:///home/runner/work/wise-sdk/wise-sdk/scripts/generate.mjs:15:1
    at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
    at async node:internal/modules/esm/loader:647:26
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)

Node.js v24.21.0

Workflow checks

@github-actions

Copy link
Copy Markdown
Author

Superseded by #31, which proposes a newer Wise specification snapshot.

@github-actions github-actions Bot closed this Oct 21, 2026
@github-actions
github-actions Bot deleted the automation/spec-acbfbb1c6b7d-5de6ab5 branch October 21, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant