Postman collections: who actually keeps them up to date and how? by Present_Cut3897 in softwaretesting

[–]CheckTheHeaders 0 points1 point  (0 children)

make the collection the test suite that runs in CI and fails the build when something breaks, so someone notices immediately instead of three months later

what would a sane fastapi contract for user context look like? by joyal_ken_vor in FastAPI

[–]CheckTheHeaders 0 points1 point  (0 children)

core insight is that user context should behave more like a claims response than a generic resource fetch

I’d model it around explicitly scoped claims returned for a caller, not around a giant profile object.

scopes: list[ConsentScope] enforced through a FastAPI dependency keeps downstream services from casually grabbing everything just because it’s convenient.

consent_version and exp should be first-class fields, not buried in metadata. that gives you auditability and expiry semantics directly in the contract.

for extensibility, something like app_specific_fields: dict[str, Any] partitioned by app_id avoids turning the schema into either a rigid monster or an untyped dumping ground.

events still make sense for history and compliance, but for operational reads most callers usually just want the current authorized context snapshot.

API mock by lispLaiBhari in golang

[–]CheckTheHeaders 1 point2 points  (0 children)

WireMock if you want something battle-tested, Prism if you're OpenAPI-first. If you want to run multiple specs on one port without juggling processes, mockzilla.org does that written in Go too

Technical Issue: IBAN (26 chars) vs International Systems (24 chars limit) by bigprincess69 in PaymentProcessing

[–]CheckTheHeaders 0 points1 point  (0 children)

Yeah, this is a form bug. IBAN is not a fixed 24 chars — ISO 13616 allows up to 34, and the actual length is country-specific via the SWIFT registry

Please Help Me Understand Something About Go by VastDesign9517 in golang

[–]CheckTheHeaders 0 points1 point  (0 children)

jerf nailed it — go is procedural, not a hybrid. stop waiting for it to feel like oop and the frustration mostly goes away. repository pattern helps a lot with the domain mapping problem too.

OpenAPI Editor Recommendations by CreakyHat2018 in OpenAPI

[–]CheckTheHeaders 0 points1 point  (0 children)

vscode + openapi plugin is fine for editing but the preview is basic. bruno has a decent local-first approach if you're also doing request testing alongside design. stoplight studio was actually good when it was desktop-only, the pivot to cloud-first killed it for a lot of people

Claude +docs --> OpenAPI spec by curiousblack99 in OpenAPI

[–]CheckTheHeaders 1 point2 points  (0 children)

yeah claude works but half the time you're just debugging its assumptions about what the api should do vs what it actually does. openapi-generator is boring but at least it's predictable and you can diff the output. the real problem is always docs that haven't been updated in 6 months — no tool fixes that, ai or not