ChatUML
ChatUML · GPT 작업
FastAPI
POST /gpts/uml/make_gz_diagramMake Gz DiagramMakes Diagram using graphviz code
POST /gpts/uml/make_vgl_diagramMake Vgl DiagramMakes Diagram using vegalite code
POST /gpts/uml/make_umlMake UmlMakes uml using plantuml code
POST /gpts/uml/make_mm_diagramMake MmMakes UML using Mermaid code
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"paths": {
"/gpts/uml/make_gz_diagram": {
"post": {
"tags": [
"gpts",
"uml"
],
"summary": "Make Gz Diagram",
"description": "Makes Diagram using graphviz code",
"operationId": "make_gz_diagram_gpts_uml_make_gz_diagram_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MakeGraphvizDiagramRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBearer": []
}
],
"x-openai-isConsequential": false
}
},
"/gpts/uml/make_vgl_diagram": {
"post": {
"tags": [
"gpts",
"uml"
],
"summary": "Make Vgl Diagram",
"description": "Makes Diagram using vegalite code",
"operationId": "make_vgl_diagram_gpts_uml_make_vgl_diagram_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MakeVegaLiteGraphRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBearer": []
}
],
"x-openai-isConsequential": false
}
},
"/gpts/uml/make_uml": {
"post": {
"tags": [
"gpts",
"uml"
],
"summary": "Make Uml",
"description": "Makes uml using plantuml code",
"operationId": "make_uml_gpts_uml_make_uml_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MakeUMLRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBearer": []
}
],
"x-openai-isConsequential": false
}
},
"/gpts/uml/make_mm_diagram": {
"post": {
"tags": [
"gpts",
"uml"
],
"summary": "Make Mm",
"description": "Makes UML using Mermaid code",
"operationId": "make_mm_gpts_uml_make_mm_diagram_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MakeMermaidDiagramRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBearer": []
}
],
"x-openai-isConsequential": false
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"MakeGraphvizDiagramRequest": {
"properties": {
"graphviz_code": {
"type": "string",
"title": "Graphviz Code",
"description": "Graphviz dot code for the diagram to create"
}
},
"type": "object",
"required": [
"graphviz_code"
],
"title": "MakeGraphvizDiagramRequest"
},
"MakeMermaidDiagramRequest": {
"properties": {
"mermaid_code": {
"type": "string",
"title": "Mermaid Code",
"description": "Mermaid diagram code for the diagram to create"
},
"diagram_type": {
"type": "string",
"title": "Diagram Type",
"description": "Type of diagram to return (png or svg)",
"default": "png"
}
},
"type": "object",
"required": [
"mermaid_code"
],
"title": "MakeMermaidDiagramRequest"
},
"MakeUMLRequest": {
"properties": {
"plantuml_code": {
"type": "string",
"title": "Plantuml Code",
"description": "Plantuml code for the uml diagram to create"
}
},
"type": "object",
"required": [
"plantuml_code"
],
"title": "MakeUMLRequest"
},
"MakeVegaLiteGraphRequest": {
"properties": {
"vegalite_code": {
"type": "string",
"title": "Vegalite Code",
"description": "Vega Lite code for the diagram to create"
}
},
"type": "object",
"required": [
"vegalite_code"
],
"title": "MakeVegaLiteGraphRequest"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
}
},
"securitySchemes": {
"HTTPBearer": {
"type": "http",
"scheme": "bearer"
}
}
},
"servers": [
{
"url": "https://api.academiai.org"
}
]
}