mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix function examples
This commit is contained in:
@@ -4,9 +4,8 @@
|
|||||||
"title": "Deploy a function",
|
"title": "Deploy a function",
|
||||||
"request": {
|
"request": {
|
||||||
"repo": "github.com/m3o/nodejs-function-example",
|
"repo": "github.com/m3o/nodejs-function-example",
|
||||||
"name": "my-first-func",
|
"name": "helloworld",
|
||||||
"entrypoint": "helloworld",
|
"entrypoint": "helloworld",
|
||||||
"project": "tests",
|
|
||||||
"runtime": "nodejs14"
|
"runtime": "nodejs14"
|
||||||
},
|
},
|
||||||
"response": {}
|
"response": {}
|
||||||
@@ -16,7 +15,7 @@
|
|||||||
{
|
{
|
||||||
"title": "Call a function",
|
"title": "Call a function",
|
||||||
"request": {
|
"request": {
|
||||||
"name": "my-first-func",
|
"name": "helloworld",
|
||||||
"request": {}
|
"request": {}
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
@@ -33,8 +32,7 @@
|
|||||||
"response": {
|
"response": {
|
||||||
"functions": [
|
"functions": [
|
||||||
{
|
{
|
||||||
"project": "a",
|
"name": "helloworld",
|
||||||
"name": "test4",
|
|
||||||
"entrypoint": "helloworld",
|
"entrypoint": "helloworld",
|
||||||
"repo": "github.com/m3o/nodejs-function-example",
|
"repo": "github.com/m3o/nodejs-function-example",
|
||||||
"subfolder": "",
|
"subfolder": "",
|
||||||
@@ -49,8 +47,7 @@
|
|||||||
{
|
{
|
||||||
"title": "Delete a function",
|
"title": "Delete a function",
|
||||||
"request": {
|
"request": {
|
||||||
"project": "tests",
|
"name": "helloworld"
|
||||||
"name": "my-first-func"
|
|
||||||
},
|
},
|
||||||
"response": {}
|
"response": {}
|
||||||
}
|
}
|
||||||
@@ -59,13 +56,11 @@
|
|||||||
{
|
{
|
||||||
"title": "Describe function status",
|
"title": "Describe function status",
|
||||||
"request": {
|
"request": {
|
||||||
"project": "tests",
|
"name": "helloworld"
|
||||||
"name": "my-first-func"
|
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"function": {
|
"function": {
|
||||||
"project": "a",
|
"name": "helloworld",
|
||||||
"name": "test4",
|
|
||||||
"entrypoint": "helloworld",
|
"entrypoint": "helloworld",
|
||||||
"repo": "github.com/m3o/nodejs-function-example",
|
"repo": "github.com/m3o/nodejs-function-example",
|
||||||
"subfolder": "",
|
"subfolder": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user