Issue with `Schema.optionalWith` in OpenAPI Spec and API Client Types Discrepancy
Finding a lot of little bugs today lol. Here's another one: When defining a schema for query parameters via Schema.optional and Schema.optionalWith (to provide defaults), I'm comparing the OpenAPI spec with the types on a api client
- For
- For
Minimal repro here: https://effect.website/play/#8f2c06c97514
- For
Schema.optional the implementation is correct - For
Schema.optionalWith the OpenAPI spec has the param as optional (correct) while the API client requires it (incorrect). Minimal repro here: https://effect.website/play/#8f2c06c97514
