3
0

Remove required flag from slug param (compose namespaces)

This commit is contained in:
Denis Arh 2019-05-20 20:34:28 +02:00
parent d9c6d68319
commit d3678cc564
3 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@
{
"type": "string",
"name": "slug",
"required": true,
"required": false,
"title": "Slug (url path part)"
},
{
@ -116,7 +116,7 @@
{
"type": "string",
"name": "slug",
"required": true,
"required": false,
"title": "Slug (url path part)"
},
{

View File

@ -57,7 +57,7 @@
},
{
"name": "slug",
"required": true,
"required": false,
"title": "Slug (url path part)",
"type": "string"
},
@ -115,7 +115,7 @@
},
{
"name": "slug",
"required": true,
"required": false,
"title": "Slug (url path part)",
"type": "string"
},

View File

@ -346,7 +346,7 @@ Compose module definitions
| Parameter | Type | Method | Description | Default | Required? |
| --------- | ---- | ------ | ----------- | ------- | --------- |
| name | string | POST | Name | N/A | YES |
| slug | string | POST | Slug (url path part) | N/A | YES |
| slug | string | POST | Slug (url path part) | N/A | NO |
| enabled | bool | POST | Enabled | N/A | NO |
| meta | sqlxTypes.JSONText | POST | Meta data | N/A | YES |
@ -378,7 +378,7 @@ Compose module definitions
| --------- | ---- | ------ | ----------- | ------- | --------- |
| namespaceID | uint64 | PATH | ID | N/A | YES |
| name | string | POST | Name | N/A | YES |
| slug | string | POST | Slug (url path part) | N/A | YES |
| slug | string | POST | Slug (url path part) | N/A | NO |
| enabled | bool | POST | Enabled | N/A | NO |
| meta | sqlxTypes.JSONText | POST | Meta data | N/A | YES |
| updatedAt | *time.Time | POST | Last update (or creation) date | N/A | NO |