Skip to content

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

Open
@fredbi

Description

@fredbi

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions