aelve / guide

A workspace for research teams
https://guide.aelve.com
106 stars 10 forks source link

Simplify client types #332

Closed neongreen closed 5 years ago

neongreen commented 5 years ago

This PR gets rid of ?, replacing it with explicit schema manipulation.

This also means that now FromJSON instances will accept missing fields as Nothing – aeson has built-in logic for treating Maybe fields like this, but it doesn't know anything about Maybe ... ? ....

willbasky commented 5 years ago

Why did you exclude tags?

neongreen commented 5 years ago

What do you mean by "tags"?

If you mean "strings after ?", then they are still available in Swagger, they just got moved into ToSchema instances.