feat: implement History API service with Swagger documentation and routing
All checks were successful
Build and Release / release (push) Successful in 1m36s
All checks were successful
Build and Release / release (push) Successful in 1m36s
This commit is contained in:
51
docs/docs.go
51
docs/docs.go
@@ -2491,6 +2491,57 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/proxy/{path}": {
|
||||
"get": {
|
||||
"description": "Transparent proxy for Goong APIs to forward body, params, headers and inject API key automatically.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json",
|
||||
"application/x-protobuf"
|
||||
],
|
||||
"tags": [
|
||||
"Goong"
|
||||
],
|
||||
"summary": "Proxy Goong APIs",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Target URL to proxy, e.g., 'tiles.goong.io/assets/goong_map_web.json'",
|
||||
"name": "path",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Resource content",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/raster-tiles/metadata": {
|
||||
"get": {
|
||||
"description": "Retrieve map metadata",
|
||||
|
||||
@@ -2484,6 +2484,57 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/proxy/{path}": {
|
||||
"get": {
|
||||
"description": "Transparent proxy for Goong APIs to forward body, params, headers and inject API key automatically.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json",
|
||||
"application/x-protobuf"
|
||||
],
|
||||
"tags": [
|
||||
"Goong"
|
||||
],
|
||||
"summary": "Proxy Goong APIs",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Target URL to proxy, e.g., 'tiles.goong.io/assets/goong_map_web.json'",
|
||||
"name": "path",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Resource content",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/raster-tiles/metadata": {
|
||||
"get": {
|
||||
"description": "Retrieve map metadata",
|
||||
|
||||
@@ -2321,6 +2321,41 @@ paths:
|
||||
summary: Get commit by ID
|
||||
tags:
|
||||
- Commits
|
||||
/proxy/{path}:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Transparent proxy for Goong APIs to forward body, params, headers
|
||||
and inject API key automatically.
|
||||
parameters:
|
||||
- description: Target URL to proxy, e.g., 'tiles.goong.io/assets/goong_map_web.json'
|
||||
in: path
|
||||
name: path
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
- application/x-protobuf
|
||||
responses:
|
||||
"200":
|
||||
description: Resource content
|
||||
schema:
|
||||
type: string
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
type: string
|
||||
"403":
|
||||
description: Forbidden
|
||||
schema:
|
||||
type: string
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
type: string
|
||||
summary: Proxy Goong APIs
|
||||
tags:
|
||||
- Goong
|
||||
/raster-tiles/{z}/{x}/{y}:
|
||||
get:
|
||||
description: Fetch vector or raster map tile data by Z, X, Y coordinates
|
||||
|
||||
Reference in New Issue
Block a user