WSO2 · Schema

Post request body

PostRequestBody schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
content string Content of the comment
category string Category of the comment
View JSON Schema on GitHub

JSON Schema

devportal-api-post-request-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/devportal-api-post-request-body-schema.json",
  "title": "Post request body",
  "description": "PostRequestBody schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 512,
      "description": "Content of the comment\n",
      "example": "This is a comment"
    },
    "category": {
      "type": "string",
      "description": "Category of the comment\n",
      "example": "general"
    }
  },
  "required": [
    "content"
  ]
}