diff --git a/doc/website/blog/2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md b/doc/website/blog/2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md index afb8d9a59..0cf3cd0ef 100644 --- a/doc/website/blog/2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md +++ b/doc/website/blog/2021-07-29-generate-a-fully-working-go-crud-http-api-with-ent.md @@ -85,7 +85,10 @@ import ( ) func main() { - ex, err := elk.NewExtension() + ex, err := elk.NewExtension( + elk.GenerateSpec("openapi.json"), + elk.GenerateHandlers(), + ) if err != nil { log.Fatalf("creating elk extension: %v", err) }