Skip to content
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

Improve validation of providers #723

Closed
ml-evs opened this issue Mar 1, 2021 · 0 comments · Fixed by #726
Closed

Improve validation of providers #723

ml-evs opened this issue Mar 1, 2021 · 0 comments · Fixed by #726
Assignees
Labels
enhancement New feature or request models For issues related to the pydantic models directly OpenAPI OpenAPI / Swagger related issue priority/medium Issue or PR with a consensus of medium priority schema Concerns the schema models

Comments

@ml-evs
Copy link
Member

ml-evs commented Mar 1, 2021

e.g.

prefix: str = StrictField(
...,
description="database-provider-specific prefix as found in section Database-Provider-Specific Namespace Prefixes.",
)
should only match [a-z][0-9] , as pointed out by @CasperWA elsewhere.

@ml-evs ml-evs added enhancement New feature or request schema Concerns the schema models OpenAPI OpenAPI / Swagger related issue priority/medium Issue or PR with a consensus of medium priority models For issues related to the pydantic models directly labels Mar 1, 2021
@ml-evs ml-evs self-assigned this Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request models For issues related to the pydantic models directly OpenAPI OpenAPI / Swagger related issue priority/medium Issue or PR with a consensus of medium priority schema Concerns the schema models
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant