Skip to content

Added postman generation via CI#2

Merged
koen-serry merged 17 commits intotwikey:masterfrom
thalestomme:master
Apr 1, 2026
Merged

Added postman generation via CI#2
koen-serry merged 17 commits intotwikey:masterfrom
thalestomme:master

Conversation

@thalestomme
Copy link
Copy Markdown
Contributor

No description provided.

thalestomme and others added 17 commits April 1, 2026 18:01
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…riables

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Wire the login test script via Portman's extendTests config to capture
the Authorization token from POST / response into collection variables.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…amples

- Add alwaysInheritAuthentication via postman-config.json so all
  requests inherit Authorization from collection level
- Set collection-level auth to use {{Authorization}} variable
- Switch folder strategy to Tags (flat structure matching legacy)
- Set parametersResolution to Example mode
- Add example: '' to 339 OpenAPI spec params without examples
- Add {{ct}}, {{mndtId}}, {{l}} variable examples to relevant params
- Override Login apiToken to use {{api_key}} variable
- Add mndtId and l to collection variables

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…RL fix

- Add example values to OpenAPI spec for invoice endpoint (customer
  object with Twikey address, Postman random generators, proper URLs)
- Set example: '' on 339 params without examples so they render empty
- Add enableOptionalParameters: false so only required params are enabled
- Consistent language param descriptions across all l/locale fields
- Fix root endpoint trailing slash via post-processing script
- Add paidamount, pdfUrl, redirectUrl examples to avoid faker artifacts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rtman

- Trigger on openapi.yaml or portman config changes
- Install Node.js and Portman dependencies in CI
- Run npm generate to produce postman.json from spec
- Extract version from openapi.yaml instead of postman.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@koen-serry koen-serry merged commit a01b057 into twikey:master Apr 1, 2026
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.

2 participants