Releases: AnswerDotAI/fastspec
Releases · AnswerDotAI/fastspec
v0.0.7
v0.0.6
v0.0.5
v0.0.4
New Features
- Preserve OpenAPI request content type and encode bodies accordingly (#1)
-
Problem
-
fastspec currently sends request bodies as JSON for generated OpenAPI calls. This works for JSON-first APIs, but not for Stripe v1 write endpoints, which expect application/x-www-form-urlencoded.
Stripe v1 also expects nested structures to be flattened:
metadata={"kind": "subscription"}->metadata[kind]=subscriptionitems=[{"price": "price_..."}]->items[0][price]=price_...