Rob Enke
Rob Enke
**Describe the bug** The request validator mistakenly makes a requestBody property required, even if it is marked as `readonly`. This is achievable by using inheritance with `allOf`. **To Reproduce** Given...
**Describe the bug** I have a component schema (`Body`) with a property (`prop2`) that should be `readonly` and its value can be either a `number` or an `enum` key. I...
**Describe the bug** I am extending a component schema by using `allOf`. The first component definition (`TestPage`) contains a property with type, properties and the rest of the schema of...
### Description I have the following scenario: ```typescript const Brand = z.enum(['Ford', 'Toyota', 'Tesla']).openapi('Brand'); const Car = z .object({ brand: Brand.nullable(), model: z.string(), }) .openapi('Car'); ``` ### Expected result I...