[hotfix] Correct endpoint definition in docs

This closes #240.
diff --git a/docs/content/docs/deployment/module.md b/docs/content/docs/deployment/module.md
index 895dd10..7d58841 100644
--- a/docs/content/docs/deployment/module.md
+++ b/docs/content/docs/deployment/module.md
@@ -155,8 +155,8 @@
 endpoint:
   meta:
     kind: http
-    functions: com.example/*
   spec:
+    functions: com.example/*
 ```
 
 #### Url Path Template
@@ -298,4 +298,4 @@
           id: example/my-egress
           type: # egress type
         spec: # egress specific configurations
-```
\ No newline at end of file
+```