You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In type.go, function schemaInfoForType() is essentially a reverse lookup of the format registry.
Currently, there some types missing from the default registry published by go-openapi/strfmt.
PR #60 added support for "mac" (following report from go-swagger/go-swagger#1348), but some remain missing:
Formats:
[ ] TODO: missing password
[ ] TODO: missing binary
Overall, keeping this reverse lookup in sync with strfmt is a real chore. Unit testing is not very useful either.
I suggest such type reverse lookup function to be handed over to strfmt.
Custom formats could bring their own mapping too.
Any thought?
The text was updated successfully, but these errors were encountered:
In type.go, function
schemaInfoForType()
is essentially a reverse lookup of the format registry.Currently, there some types missing from the default registry published by go-openapi/strfmt.
PR #60 added support for "mac" (following report from go-swagger/go-swagger#1348), but some remain missing:
Formats:
[ ] TODO: missing password
[ ] TODO: missing binary
Overall, keeping this reverse lookup in sync with strfmt is a real chore. Unit testing is not very useful either.
I suggest such type reverse lookup function to be handed over to strfmt.
Custom formats could bring their own mapping too.
Any thought?
The text was updated successfully, but these errors were encountered: