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

test for string validation #141

Merged
merged 2 commits into from Oct 9, 2021
Merged

Conversation

dimovnike
Copy link
Contributor

Test for validating String() output of some types (datetime, uuid, email, bsonobjectid, more can be added). Right now bsonobjectid fails (as per go-openapi/strfmt#83). This test passes when strfmt is updated to the latest master.

I did not update strfmt because it seems that it needs a new tag but i can update it to master if this is acceptable. Please, let me know.

Signed-off-by: Nick Dimov <3619341+dimovnike@users.noreply.github.com>
@youyuanwu
Copy link
Member

@dimovnike New strfmt tag has been created.

Signed-off-by: Nick Dimov <3619341+dimovnike@users.noreply.github.com>
@dimovnike dimovnike closed this Aug 23, 2021
@dimovnike dimovnike reopened this Aug 23, 2021
@dimovnike dimovnike changed the title test for string validation (bsonobjectid fails) test for string validation Aug 23, 2021
@casualjim casualjim merged commit cd349c2 into go-openapi:master Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants