orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
This is how it is generated, usersPassportLoginBodyLoginMinOne and usersPassportLoginBodyLoginMaxOne are not defined so this type of variables is simply not generated, if you remove the min and max check in the json then everything is fine, also it does not work with 'regex'
i have no errors while generated zod, but have some warnings when generate fetch
🎉 elevators - Your OpenAPI spec has been converted into ready to use orval!
zod: Cleaning output folder
⚠️ SyntaxError: Swagger schema validation failed.
#/components/securitySchemes/sanctum must have required property '$ref'
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum/type must be equal to one of the allowed values
#/components/securitySchemes/sanctum must have required property 'flows'
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum/type must be equal to one of the allowed values
#/components/securitySchemes/sanctum must have required property 'openIdConnectUrl'
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum must NOT have additional properties
#/components/securitySchemes/sanctum/type must be equal to one of the allowed values
#/components/securitySchemes/sanctum must match exactly one schema in oneOf
#/components/securitySchemes/sanctum must match exactly one schema in oneOf
this is json
This is how it is generated,
usersPassportLoginBodyLoginMinOne
andusersPassportLoginBodyLoginMaxOne
are not defined so this type of variables is simply not generated, if you remove the min and max check in the json then everything is fine, also it does not work with 'regex'Any logs, error output, etc?
i have no errors while generated zod, but have some warnings when generate fetch
What versions are you using?