diff --git a/models.gen.go b/models.gen.go index 7d2a12b..a97c18d 100644 --- a/models.gen.go +++ b/models.gen.go @@ -303,12 +303,6 @@ type PluginDocsPage struct { // Name The unique name for the plugin documentation page. Name PluginDocsPageName `json:"name"` - - // OrdinalPosition The position of the page in the documentation - OrdinalPosition *int `json:"ordinal_position,omitempty"` - - // Title The title of the documentation page - Title string `json:"title"` } // PluginDocsPageCreate CloudQuery Plugin Documentation Page @@ -318,12 +312,6 @@ type PluginDocsPageCreate struct { // Name The unique name for the plugin documentation page. Name PluginDocsPageName `json:"name"` - - // OrdinalPosition The position of the page in the documentation - OrdinalPosition *int `json:"ordinal_position,omitempty"` - - // Title The title of the documentation page - Title string `json:"title"` } // PluginDocsPageName The unique name for the plugin documentation page. diff --git a/spec.json b/spec.json index 96e1676..c7fee5e 100644 --- a/spec.json +++ b/spec.json @@ -3095,7 +3095,7 @@ "PluginDocsPageName": { "description": "The unique name for the plugin documentation page.", "maxLength": 255, - "pattern": "^[a-z](-?[a-z0-9]+)+$", + "pattern": "^[\\w,\\s-]+$", "type": "string", "example": "overview" }, @@ -3104,23 +3104,12 @@ "description": "CloudQuery Plugin Documentation Page", "required": [ "name", - "title", "content" ], "properties": { "name": { "$ref": "#/components/schemas/PluginDocsPageName" }, - "title": { - "type": "string", - "description": "The title of the documentation page", - "example": "Getting Started" - }, - "ordinal_position": { - "type": "integer", - "description": "The position of the page in the documentation", - "example": 1 - }, "content": { "type": "string", "description": "The content of the documentation page. Supports markdown.", @@ -3135,23 +3124,12 @@ "description": "CloudQuery Plugin Documentation Page", "required": [ "name", - "title", "content" ], "properties": { "name": { "$ref": "#/components/schemas/PluginDocsPageName" }, - "title": { - "type": "string", - "description": "The title of the documentation page", - "example": "Getting Started" - }, - "ordinal_position": { - "type": "integer", - "description": "The position of the page in the documentation", - "example": 1 - }, "content": { "type": "string", "description": "The content of the documentation page. Supports markdown.",