-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define how to express uri and email forms (Renamed) #62
Comments
@mattfarina Good question. This is all done through the openAPI v3 validation supported by CRDs. Do you know what the CRD validation supports? I may need to add an extra hook. I am not totally clear from this document about what validation is supported by openAPI v3: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md. It mentions uuid and email as formats but says they are undefined by the spec. If nothing else, you may be able to use "Pattern". |
@pwittrock Two things...
|
|
@mattfarina Filed #67 to support annotating fields with the format generated for openapi. |
@pwittrock Thanks. You can consider my question answered. I'll leave this open in case you want to keep it open until you've updated the godocs. Or, you can close it if not. |
Is there a way to specify validation for things just as email and URL/URI?
The text was updated successfully, but these errors were encountered: