Haskell-OpenAPI-Client-Code-Generator
Haskell-OpenAPI-Client-Code-Generator copied to clipboard
Generate Haskell client code from an OpenAPI 3 specification
A couple things I changed here: 1. I added an option to output all schemas. We have types that come through in a Websocket which I added to the spec....
Another question: The [Xentral ERP OpenAPI spec](https://github.com/xentral/api-spec-public/blob/main/openapi/xentral-api.openapi-3.0.0.json) declares custom mime types like `application/vnd.xxx+json`. ```json … "operationId": "product.view", "summary": "View product", "description": "Returns details of a single product", "responses": { "200":...
Hi there, thanks for this great code gen! I'd just like to hear some opinions how to best fix this issue: In the [Xentral ERP OpenAPI spec](https://github.com/xentral/api-spec-public/blob/main/openapi/xentral-api.openapi-3.0.0.json) they use this...
For [binance-api-swagger/spot_api.yaml](https://binance.github.io/binance-api-swagger/spot_api.yaml) the section ```yaml aggTrade: type: object properties: a: type: integer format: int64 description: Aggregate tradeId example: 26129 p: type: string description: Price example: "0.01633102" q: type: string description:...
… at operation level. This should fix #17.
The generator only supports parameters defined on the operation level. The operation parameters could be enriched using the parameters defined on the path item level.
Some APIs require a specific header to be sent with all requests. For example, in Recurly: // https://recurly.com/developers/api/v2021-02-25/#section/Getting-Started/Versioning > WARNING: Specifying a version is required to get a successful response....
For each record type e.g. `Get_foo` that represents a set of query parameters, the generator also produces a function `mkGet_foo` whose parameters are only the values of `Get_foo` that are...
Fix for https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator/issues/123
Consider the following specification: ```json { "openapi": "3.0.0", "info": { "title": "", "version": "0" }, "paths": { "/questions": { "get": { "responses": { "200": { "description": "", "content": { "application/json;charset=utf-8":...