{
    "openapi": "3.0.0",
    "info": {
        "title": "生肖配对 - API文档",
        "version": "1.0.0",
        "description": "中华传统十二生肖配对，可以单一配对，也可以与其他所有生肖同时全部配对。数据仅供娱乐，没什么科学性。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/zodiac\/index": {
            "get": {
                "summary": "生肖配对查询",
                "tags": [
                    "生肖配对"
                ],
                "description": "生效配对查询仅供娱乐请忽当真",
                "parameters": [
                    {
                        "name": "he",
                        "in": "query",
                        "description": "对方生肖",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "羊",
                            "description": "对方生肖"
                        }
                    },
                    {
                        "name": "me",
                        "in": "query",
                        "description": "我的生肖",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "猴",
                            "description": "我的生肖"
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string",
                                            "example": "猴：羊",
                                            "description": "标题"
                                        },
                                        "fcontent": {
                                            "type": "string",
                                            "example": "女羊＋男猴：强以结合，他满足的是钱财，而你又提起他的兴趣。",
                                            "description": "配对结果"
                                        },
                                        "mcontent": {
                                            "type": "string",
                                            "example": "\"男羊＋女猴：难以成为配偶，因她从未把你当作她的婚爱人选。",
                                            "description": "配对结果"
                                        },
                                        "fcontent1": {
                                            "type": "string",
                                            "example": "女猴＋男羊：不可能结合。你从不把他的关心放在眼里。",
                                            "description": "配对结果"
                                        },
                                        "mcontent1": {
                                            "type": "string",
                                            "example": "男猴＋女羊：可以生活在一起，但你要有钱，不然她不会喜欢你的。",
                                            "description": "配对结果"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "title": "猴：羊",
                                        "fcontent": "女羊＋男猴：强以结合，他满足的是钱财，而你又提起他的兴趣。",
                                        "mcontent": "男羊＋女猴：难以成为配偶，因她从未把你当作她的婚爱人选。",
                                        "fcontent1": "女猴＋男羊：不可能结合。你从不把他的关心放在眼里。",
                                        "mcontent1": "男猴＋女羊：可以生活在一起，但你要有钱，不然她不会喜欢你的。"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "生肖配对查询",
                "tags": [
                    "生肖配对"
                ],
                "description": "生效配对查询仅供娱乐请忽当真",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "he": {
                                        "type": "string",
                                        "example": "羊",
                                        "description": "对方生肖"
                                    },
                                    "me": {
                                        "type": "string",
                                        "example": "猴",
                                        "description": "我的生肖"
                                    },
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    }
                                },
                                "required": [
                                    "he",
                                    "me",
                                    "key"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string",
                                            "example": "猴：羊",
                                            "description": "标题"
                                        },
                                        "fcontent": {
                                            "type": "string",
                                            "example": "女羊＋男猴：强以结合，他满足的是钱财，而你又提起他的兴趣。",
                                            "description": "配对结果"
                                        },
                                        "mcontent": {
                                            "type": "string",
                                            "example": "\"男羊＋女猴：难以成为配偶，因她从未把你当作她的婚爱人选。",
                                            "description": "配对结果"
                                        },
                                        "fcontent1": {
                                            "type": "string",
                                            "example": "女猴＋男羊：不可能结合。你从不把他的关心放在眼里。",
                                            "description": "配对结果"
                                        },
                                        "mcontent1": {
                                            "type": "string",
                                            "example": "男猴＋女羊：可以生活在一起，但你要有钱，不然她不会喜欢你的。",
                                            "description": "配对结果"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "title": "猴：羊",
                                        "fcontent": "女羊＋男猴：强以结合，他满足的是钱财，而你又提起他的兴趣。",
                                        "mcontent": "男羊＋女猴：难以成为配偶，因她从未把你当作她的婚爱人选。",
                                        "fcontent1": "女猴＋男羊：不可能结合。你从不把他的关心放在眼里。",
                                        "mcontent1": "男猴＋女羊：可以生活在一起，但你要有钱，不然她不会喜欢你的。"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}