Make "enabled" field for namespace not required

This commit is contained in:
Denis Arh
2019-05-15 17:52:12 +02:00
parent e0121d3a53
commit a3aeae64d3
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -347,7 +347,7 @@ Compose module definitions
| --------- | ---- | ------ | ----------- | ------- | --------- |
| name | string | POST | Name | N/A | YES |
| slug | string | POST | Slug (url path part) | N/A | YES |
| enabled | bool | POST | Enabled | N/A | YES |
| enabled | bool | POST | Enabled | N/A | NO |
| meta | sqlxTypes.JSONText | POST | Meta data | N/A | YES |
## Read namespace
@@ -379,7 +379,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 |
| enabled | bool | POST | Enabled | N/A | YES |
| 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 |