From 5fc12946934fd7faab02e25bf9bac9d3037235a5 Mon Sep 17 00:00:00 2001 From: Mitja Zivkovic Date: Mon, 24 Dec 2018 11:40:41 +0100 Subject: [PATCH] Fix crm docs --- api/crm/spec.json | 1 + api/crm/spec/chart.json | 2 +- docs/crm/README.md | 20 +++++--------------- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/api/crm/spec.json b/api/crm/spec.json index 449813057..f9ed61f41 100644 --- a/api/crm/spec.json +++ b/api/crm/spec.json @@ -833,6 +833,7 @@ "title": "Charts", "path": "/chart", "entrypoint": "chart", + "authentication": [], "struct": [ { "imports": [ diff --git a/api/crm/spec/chart.json b/api/crm/spec/chart.json index 1cd4c7363..1306a5601 100644 --- a/api/crm/spec/chart.json +++ b/api/crm/spec/chart.json @@ -11,7 +11,7 @@ ], "Parameters": null, "Protocol": "", - "Authentication": null, + "Authentication": [], "Path": "/chart", "APIs": [ { diff --git a/docs/crm/README.md b/docs/crm/README.md index 442a0324c..39181da19 100644 --- a/docs/crm/README.md +++ b/docs/crm/README.md @@ -6,9 +6,7 @@ | URI | Protocol | Method | Authentication | | --- | -------- | ------ | -------------- | -| `/chart/` | HTTP/S | GET | -Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/src/github.com/crusttech/crust/codegen/templates/README.tpl on line 22 - | +| `/chart/` | HTTP/S | GET | | #### Request parameters @@ -21,9 +19,7 @@ Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/ | URI | Protocol | Method | Authentication | | --- | -------- | ------ | -------------- | -| `/chart/` | HTTP/S | POST | -Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/src/github.com/crusttech/crust/codegen/templates/README.tpl on line 22 - | +| `/chart/` | HTTP/S | POST | | #### Request parameters @@ -38,9 +34,7 @@ Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/ | URI | Protocol | Method | Authentication | | --- | -------- | ------ | -------------- | -| `/chart/{chartID}` | HTTP/S | GET | -Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/src/github.com/crusttech/crust/codegen/templates/README.tpl on line 22 - | +| `/chart/{chartID}` | HTTP/S | GET | | #### Request parameters @@ -54,9 +48,7 @@ Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/ | URI | Protocol | Method | Authentication | | --- | -------- | ------ | -------------- | -| `/chart/{chartID}` | HTTP/S | POST | -Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/src/github.com/crusttech/crust/codegen/templates/README.tpl on line 22 - | +| `/chart/{chartID}` | HTTP/S | POST | | #### Request parameters @@ -72,9 +64,7 @@ Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/ | URI | Protocol | Method | Authentication | | --- | -------- | ------ | -------------- | -| `/chart/{chartID}` | HTTP/S | DELETE | -Warning: implode(): Invalid arguments passed in /private/tmp/Users/darh/Work/go/src/github.com/crusttech/crust/codegen/templates/README.tpl on line 22 - | +| `/chart/{chartID}` | HTTP/S | DELETE | | #### Request parameters