0.7.1 Is out: A Step to Making SOAP less painful ;) #16
Locked
sergeliatko
announced in
Announcements
Replies: 1 comment
-
|
@GerryWilko any feedback is welcome |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pipeline vision:
Old WSDL → Typed TypeScript Client → Deterministic OpenAPI → (Next) Generated REST Wrapper → Automate & RepeatMany teams (like ours) still sit on contract-heavy SOAP endpoints that aren’t going away overnight. What we do need:
What’s new in 0.7.1
1. Always‑on Standard Response Envelope
Every operation response now lives inside a consistent envelope:
status,message,data,error.Why? REST wrapper generation and gateway policies (logging, error mapping, correlation IDs) are easier when shapes converge early.
2. Deterministic OpenAPI output
Alphabetical ordering of:
Cleaner diffs; safer automation (e.g., detecting meaningful schema shifts).
3. Stability & polish
/when none providedjsonSchemaDialectto reduce IDE noiseWhy the envelope matters for modernization
If you’re planning to stand up a REST façade (or serverless proxy) over a SOAP backend, you eventually need:
Adding the envelope now avoids a future breaking change once wrapper generation lands.
Example
Success
{ "status": "SUCCESS", "message": null, "data": { "...": "Payload fields" }, "error": null }Error
{ "status": "FAILURE", "message": "Upstream timeout", "data": null, "error": { "code": "TIMEOUT", "message": "Upstream service did not respond", "details": { "elapsedMs": 5021 } } }Upgrade impact
data--envelope-namespace CustomEnvelope--error-namespace ProblemCurrent pipeline (today)
Roadmap slice (0.7.x → 0.8.x)
Feedback wanted
Quick generate reminder
Changelog reference
See
[0.7.1] – 2025-09-23inCHANGELOG.md.Short variant (for social / brief Discussion)
0.7.1shipped: always‑on response envelope + deterministic OpenAPI. Stabilizes modernization loop: WSDL → TS client → OpenAPI → (next) REST wrapper. Envelope = consistent status/data/error for future gateway & fault mapping. Feedback: preferred wrapper framework? need envelope opt‑out? fault mapping needs?— TechSpokes
Beta Was this translation helpful? Give feedback.
All reactions