@signe/schema-to-zod 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4179,13 +4179,6 @@ function getTypeFunction(schema) {
4179
4179
  }
4180
4180
  __name(getTypeFunction, "getTypeFunction");
4181
4181
  function convertPropertyToZod(schema, key, parentSchema) {
4182
- if (schema.$ref) {
4183
- return z.array(z.object({
4184
- value: z.object({
4185
- id: z.string()
4186
- })
4187
- }));
4188
- }
4189
4182
  if (schema.type === "object") {
4190
4183
  return z.object(jsonSchemaToZod(schema));
4191
4184
  }