In-Chat UML Diagram Visualizer

In-Chat UML Diagram Visualizer · GPT アクション

Custom ChatGPT PlantUML API

Generated docs from an Express api

  • POST /plantuml/generate/{img_type}generatePlantUML

    Generate plantuml

元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "Custom ChatGPT PlantUML API",
    "version": "1.0.0",
    "description": "Generated docs from an Express api"
  },
  "servers": [
    {
      "url": "https://www.chatgptplantuml.online",
      "description": "Server"
    }
  ],
  "paths": {
    "/plantuml/generate/{img_type}": {
      "post": {
        "operationId": "generatePlantUML",
        "x-openai-isConsequential": false,
        "description": "Generate plantuml",
        "parameters": [
          {
            "name": "img_type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "png",
                "svg"
              ]
            },
            "description": "Image type"
          }
        ],
        "requestBody": {
          "description": "PlantUML code",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "plantUmlCode": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "imgUrl": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}