8000 When generating validations struct pkg references needs to be preserved · Issue #578 · go-swagger/go-swagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
When generating validations struct pkg references needs to be preserved #578
Closed
@runcom

Description

@runcom

Problem statement

if I generate the structs into ./specs-go and validations in ./specs-go/validation then types in the validation directory aren't referencing types in specs-go and I get not declared errors

Swagger specification

Steps to reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementvalidatorRelated to codegen generation of validations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0