This commit is contained in:
2024-11-27 17:26:53 +08:00
parent c4fa0c503a
commit dd1ccd8ae0

View File

@@ -3,7 +3,13 @@ info:
title: 和风天气API
version: '1'
servers:
- url: https://devapi.qweather.com
- url: https://{var}.qweather.com
variables:
var:
default: devapi
enum:
- devapi
- geoapi
components:
securitySchemes:
apiKey:
@@ -18,7 +24,13 @@ paths:
operationId: lookupCity
summary: 城市搜索
servers:
- url: https://geoapi.qweather.com
- url: https://{var}.qweather.com
variables:
var:
default: geoapi
enum:
- devapi
- geoapi
parameters:
- name: location
in: query