r/purescript • • Mar 23 '23

Generating a purescript client based on Openapi description

Hey there!
I am thinking of creating a small pet project - a UI for some existing REST-api.
And the api I am going to connect to already exposes it's description as an openapi 3.0 json file.

So I am wondering what would be the best way of generating a purescript client.

PS as a plan B I've got servant-purescript (since the api's running on servant)

8 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/notnotandre Mar 29 '23

This might work! Doesn't look like a very easy task though 😅
I'll give it a try. Thanks for the answer!