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

Registry should expose zeroers, preferred initialization method and type mapping #23

Open
fredbi opened this issue Feb 3, 2018 · 0 comments
Assignees

Comments

@fredbi
Copy link
Member

fredbi commented Feb 3, 2018

go-swagger generator relies on go-openapi/strfmt to generate code.
go-swagger knowledge of strfmt is concentrated here: https://github.com/go-swagger/go-swagger/blob/master/generator/formats.go

It would be a nice refactoring to have this directly provided by the registry.

... first step toward really flexible custom formats.

Similar dependency observed in go-openapi/validate with type reverse lookup (in https://github.com/go-openapi/validate/blob/2a09d726370ca256a065c34ba0def99564d620dc/type.go#L35)

@fredbi fredbi self-assigned this Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant