Skip to content

Conversation

veleek
Copy link
Contributor

@veleek veleek commented Jun 29, 2021

Added a ValidateName method to CompositeError to mirror the same API in Validation type to enable generated validation logic to alias CompositeErrors the same wait it aliases Validations.

Added a ValidateName method to CompositeError to mirror the same API in
Validation type to enable generated validation logic to alias
CompositeErrors the same wait it aliases Validations.

Signed-off-by: Ben Randall <ben.randall@unity3d.com>
veleek pushed a commit to veleek/go-swagger that referenced this pull request Jun 29, 2021
Update templates that have nested body param logic to call ValidateName API on CompositeError.
See go-openapi/errors#30 for addition of ValidateName API to CompositeError.

Signed-off-by: Ben Randall <ben.randall@unity3d.com>
@veleek veleek closed this Jun 30, 2021
@veleek veleek deleted the benran/compositealias branch June 30, 2021 00:26
casualjim pushed a commit to go-swagger/go-swagger that referenced this pull request Aug 23, 2021
Update templates that have nested body param logic to call ValidateName API on CompositeError.
See go-openapi/errors#30 for addition of ValidateName API to CompositeError.

Signed-off-by: Ben Randall <ben.randall@unity3d.com>
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.

1 participant