{
    "openapi": "3.0.0",
    "info": {
        "title": "计算机术语 - API文档",
        "version": "1.0.0",
        "description": "计算机和通信行业常用缩写查询，返回术语释义。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/pcterm\/index": {
            "get": {
                "summary": "计算机术语",
                "tags": [
                    "计算机术语"
                ],
                "description": "计算机术语查询，适合IT办公类场景",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "术语缩写",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "ASPI",
                            "description": "术语缩写"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "abbr": {
                                            "type": "string",
                                            "example": "ASPI",
                                            "description": "术语缩写"
                                        },
                                        "type": {
                                            "type": "string",
                                            "example": "光驱",
                                            "description": "分类"
                                        },
                                        "notes": {
                                            "type": "string",
                                            "example": "Advanced SCSI Programming Interface...",
                                            "description": "释义"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "abbr": "ASPI",
                                        "type": "光驱",
                                        "notes": "AdvancedSCSIProgrammingInterface，高级SCSI可编程接口"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "计算机术语",
                "tags": [
                    "计算机术语"
                ],
                "description": "计算机术语查询，适合IT办公类场景",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "ASPI",
                                        "description": "术语缩写"
                                    }
                                },
                                "required": [
                                    "key",
                                    "word"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "abbr": {
                                            "type": "string",
                                            "example": "ASPI",
                                            "description": "术语缩写"
                                        },
                                        "type": {
                                            "type": "string",
                                            "example": "光驱",
                                            "description": "分类"
                                        },
                                        "notes": {
                                            "type": "string",
                                            "example": "Advanced SCSI Programming Interface...",
                                            "description": "释义"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "abbr": "ASPI",
                                        "type": "光驱",
                                        "notes": "AdvancedSCSIProgrammingInterface，高级SCSI可编程接口"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}