Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Options -> SchemaOptions #139

Closed
reactormonk opened this issue Mar 2, 2018 · 2 comments
Closed

Provide a Options -> SchemaOptions #139

reactormonk opened this issue Mar 2, 2018 · 2 comments

Comments

@reactormonk
Copy link

It would be convenient to reuse the aesonOptions :: Options defined for deriving the codes in the swagger definition as well, instead of having to write two different schemas.

@fizruk
Copy link
Member

fizruk commented Mar 2, 2018

@reactormonk right, I would call it fromAesonOptions :: Aeson.Options -> SchemaOptions.
This seems straightforward, would you like to send a PR? :)

@przemoli
Copy link

przemoli commented Mar 9, 2018

grep -r "aesonOptions";grep -r "fromAesonOptions";grep -r "Aeson.Options"; All find no match.

Was it renamed? Is this issue already solved?
Can you post a filename where I could start reading?

Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants