x402

API Docs Generate (x402)

Generate markdown API documentation from an OpenAPI spec or natural language description. Returns documentation with parameters, examples, error codes.

get/x402/v2/api-docs-generate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/api-docs-generate
  • Auth: none required

Query parameters

openapi_specstring
endpoint_descriptionstring

Response

Success

markdownstring
total_endpointsinteger

Example response

{
  "markdown": "# API Documentation\n\n## Description\n\nThis is a test input for automated capability testing.\n\n## Authentication\n\nNo authentication is currently configured for this API.\n\n## Endpoints\n\nNo endpoints have been specified in the provided specification.\n\n## Parameters\n\nNo parameters are defined.\n\n## Request Example\n\n```\nNo examples available\n```\n\n## Response Example\n\n```\nNo examples available\n```\n\n## Error Codes\n\nNo error codes are documented.",
  "source_type": "natural_language",
  "total_endpoints": 0,
  "authentication_type": "none",
  "endpoints_documented": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.