Commit Graph

14 Commits

Author SHA1 Message Date
Alex Biehl
e877363252 Support x-tie-haskell-name to override field names 2023-04-07 10:47:46 +02:00
Alex Biehl
4e9764fc58 Introduce x-tie-haskell-request-body-as-stream 2023-03-06 18:15:36 +01:00
Alex Biehl
f4df5169ae Generate HasField instance for responses returning it's status 2023-01-09 12:25:33 +01:00
Alex Biehl
f1bf26d876 Support application/x-ndjson natively 2022-12-20 11:03:46 +01:00
Alex Biehl
61a154f14d Support for array query parameters 2022-10-05 13:18:12 +02:00
Alex Biehl
b110894945 Proper content negotiation for request bodies 2022-09-05 12:02:00 +02:00
Alex Biehl
e578b575e4 Support for additionalProperties 2022-07-01 14:51:57 +02:00
Alex Biehl
8f826bb667 Refer to HTTP.Types.Status directly instead of using toENum 2022-06-20 21:21:38 +02:00
Alex Biehl
0af3459052 INLINABLE pragma for application
INLINABLE makes sure to include the applications unfolding into
the haskell interface (despite it's possibly large size). It allows
users to specialize the function at use-site:

```
import Scarf.Public.Api (application)

{-# SPECIALIZE application @AppIO #-}

```
2022-06-13 11:22:23 +02:00
Alex Biehl
764e907252 INLINABLE pragma for application
INLINABLE makes sure to include the applications unfolding into
the haskell interface (despite it's possibly large size). It allows
users to specialize the function at use-site:

```
import Scarf.Public.Api (application)

{-# SPECIALIZE application @AppIO #-}

```
2022-06-13 11:19:19 +02:00
Alex Biehl
05add8332c Move Response.hs file to template file 2022-06-13 11:19:06 +02:00
Alex Biehl
24e28b6c2d Remove some superflouos whitespace from generated code 2022-06-12 18:03:05 +02:00
Alex Biehl
1e888e29ae Support schema-less response bodies 2022-05-23 21:28:45 +02:00
Alex Biehl
8323ff0fe1 Support code generation for unknown media types 2022-05-23 20:55:29 +02:00