You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a haskell representation of endpoints, their inputs (parameters) and outputs (responses).
I am using ToSchema to convert back from Haskell data structures to the corresponding Schema structures.
I wanted to do the same for my Parameters (currently represented by Haskell types in the code), so that I can generate a Swagger Doc (Json) from my Haskell code and properly represent the Endpoint Parameters/Responses. Is there any way to currently do this?
Or are there plans to have a typeclass like ToOperation or ToParam for the same?
Note : I am not using servant.
The text was updated successfully, but these errors were encountered:
I have a haskell representation of endpoints, their inputs (parameters) and outputs (responses).
I am using
ToSchema
to convert back from Haskell data structures to the correspondingSchema
structures.I wanted to do the same for my Parameters (currently represented by Haskell types in the code), so that I can generate a Swagger Doc (Json) from my Haskell code and properly represent the Endpoint Parameters/Responses. Is there any way to currently do this?
Or are there plans to have a typeclass like
ToOperation
orToParam
for the same?Note : I am not using servant.
The text was updated successfully, but these errors were encountered: