Skip to content

Commit

Permalink
revert #1079
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Mar 12, 2020
1 parent 793b067 commit 5e3cef2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ func Generate(cfg *config.Config, option ...Option) error {
}
}

if err = codegen.GenerateCode(data); err != nil {
return errors.Wrap(err, "generating core failed")
}

if !cfg.SkipValidation {
if err := validate(cfg); err != nil {
return errors.Wrap(err, "validation failed")
Expand Down

0 comments on commit 5e3cef2

Please sign in to comment.