Closed guersam closed 1 month ago
Failed test:
- AuthSpec - With server - Auth from query parameter with context and endpoint client
Exception in thread "zio-fiber-174869" zio.http.codec.HttpCodecError$MalformedStatus: Expected status code BadRequest but found NotFound
at zio.http.endpoint.AuthSpec.spec.response(AuthSpec.scala:204)
at zio.http.endpoint.AuthSpec.spec.response(AuthSpec.scala:205)
at zio.http.endpoint.AuthSpec.spec(AuthSpec.scala:213)
at zio.http.endpoint.AuthSpec.spec(AuthSpec.scala:214)
This spec is failing consistently on the current main branch since last week. Maybe there's a race among the parallel cases on http://localhost:8080
?
While working with OpenAI structured outputs, I need an uncommon requirement like omitting
format
field from the schema.To overcome such technical constraint, I need an escape hatch between
JsonSchema
andSerializableJsonSchema
for a workaround like the below: