Skip to content

Releases: AnswerDotAI/fastspec

v0.0.7

28 May 13:44

Choose a tag to compare

  • revert dict2obj resp which was causing issues in fastllm

v0.0.6

28 May 11:41

Choose a tag to compare

New Features

  • op/path tags in group_func, dedupe route/body/query params (#4)

  • Handle httpx.RequestError as retryable APIError (#3), thanks to @ncoop57

v0.0.5

15 May 13:18

Choose a tag to compare

New Features

  • User defined group name parsing (#2)

v0.0.4

15 May 09:53

Choose a tag to compare

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]=subscription
  • items=[{"price": "price_..."}] -> items[0][price]=price_...