Twitxy Saved

Peter Müller

@BaggersIO

Co-founder of @qupaya. Founder & organizer of @ngdeconf & @FrankenJS. 🏈 🥾 🥩 🍺
The Internet Joined August 2013
718 Following 743 Followers 3.7K Posts

Latest posts 5

Peter Müller @BaggersIO
Did you know you can soup up the thymian analyze command by validating your recorded traffic directly against your API specification?

🌱 thymian analyze --spec openapi:./openapi.yaml --traffic har:./traffic.har

📚 thymian.dev/tutorials/thym…

#APIDevelopment #OpenAPI #http #api
thymian.dev Using thymian analyze Learn how to analyze recorded HTTP traffic with Thymian, when to use HAR files, and how to interpret violations from real environments.
Thymian @thymiandev May 26
Validate recorded HTTP traffic against conformance rules.

npx thymian analyze --traffic har:./traffic.har

Works with HAR files from browsers, API clients, or proxies. Finds issues introduced by gateways, caches, and middleware.

thymian.dev/tutorials/thym…
View quoted post on X
Peter Müller @BaggersIO
The powerhouse under the hood is the built-in Thymian sampler. @matthyjk wrote a magnificent tutorial about how to generate and set up sample data and hooks (e.g., for authentication or data seeding).

🌱 thymian.dev/tutorials/samp…

#http #api #testing #contracttesting
thymian.dev Testing an API with the Sampler Getting started tutorial for @thymian/plugin-sampler — from nothing on disk to typed, selector-anchored hooks.
Thymian @thymiandev May 21
Does your running API actually behave correctly?

npx thymian test --spec openapi:openapi.yaml --target-url http://localhost:3000

Sends real requests, validates responses against HTTP rules. Catches implementation drift.

thymian.dev/tutorials/thym…
View quoted post on X
Peter Müller @BaggersIO
Finally, there is a way to cover #HTTP semantics for your #OpenAPI spec. Linting is just the first step to avoid API drift between specification, development, integration and production. #API
Thymian @thymiandev May 19
Catch missing headers, wrong status codes, and spec issues before deployment.

npx thymian lint --spec openapi:openapi.yaml

No running server needed.

thymian.dev/tutorials/thym…
View quoted post on X