schema-openapi icon indicating copy to clipboard operation
schema-openapi copied to clipboard

Documentation request: How to integrate randomExample

Open hannesj opened this issue 1 year ago • 1 comments

It would be nice to have an example of how to use randomExample in connection with the rest of the library. It would also be nice to have a setter for example in jsonRequest and jsonResponse

hannesj avatar Nov 20 '23 09:11 hannesj

Hey, if I'm not mistaken, the addition of random example compiler was quite ad-hoc as I needed it in the effect-http. It's possible I'll remove it from this package and either make it part of the effect-http or create a completely separate lib. AFAIK, there is no direct connection or intended interop between randomExample and OpenApi combinators. Sorry for the confusion.

sukovanej avatar Nov 26 '23 14:11 sukovanej