Manfred / Reynard

Minimal OpenAPI client for Ruby.
MIT License
12 stars 2 forks source link

Feature request: (De)serialize request and response bodies according to specs #55

Open Manfred opened 5 months ago

Manfred commented 5 months ago

Feature

(De)serialization

Why and what

Reynard would attempt to serialize a request body according to the first content-type in the request body content specification it supports. For response bodies it ignores the specification, but uses a best-effort approach to deserialize the response body according to the content-type. Both serializers and deserializers are configured for supporting content-types and can be overridden at any point while building a request.