diff --git a/cmd/main.go b/cmd/main.go index d329507..9fb8710 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,7 +1,7 @@ // Package main provides the entry point for the Sulawesi Tengah COVID-19 Data API // // @title Sulawesi Tengah COVID-19 Data API -// @version 2.2.0 +// @version 2.3.0 // @description A comprehensive REST API for COVID-19 data in Sulawesi Tengah (Central Sulawesi), with additional national and provincial data for context. Features enhanced ODP/PDP grouping, hybrid pagination, and rate limiting protection. Rate limiting: 100 requests per minute per IP address by default, with appropriate HTTP headers for client guidance. // @termsOfService http://swagger.io/terms/ // diff --git a/docs/docs.go b/docs/docs.go index abbcd00..4fb9523 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -815,7 +815,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ - Version: "2.2.0", + Version: "2.3.0", Host: "pico-api.banuacoder.com", BasePath: "/api/v1", Schemes: []string{"https", "http"}, diff --git a/docs/swagger.json b/docs/swagger.json index 7e8f02a..66a57ba 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -17,7 +17,7 @@ "name": "MIT", "url": "https://opensource.org/licenses/MIT" }, - "version": "2.2.0" + "version": "2.3.0" }, "host": "pico-api.banuacoder.com", "basePath": "/api/v1", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 8a8fe1f..b9c819d 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -209,7 +209,7 @@ info: url: https://opensource.org/licenses/MIT termsOfService: http://swagger.io/terms/ title: Sulawesi Tengah COVID-19 Data API - version: 2.2.0 + version: 2.3.0 paths: /: get: diff --git a/internal/handler/covid_handler.go b/internal/handler/covid_handler.go index 35d9c81..458707a 100644 --- a/internal/handler/covid_handler.go +++ b/internal/handler/covid_handler.go @@ -298,7 +298,7 @@ func (h *CovidHandler) HealthCheck(w http.ResponseWriter, r *http.Request) { health := map[string]interface{}{ "status": "healthy", "service": "COVID-19 API", - "version": "2.2.0", + "version": "2.3.0", "timestamp": time.Now().UTC().Format(time.RFC3339), } @@ -355,7 +355,7 @@ func (h *CovidHandler) GetAPIIndex(w http.ResponseWriter, r *http.Request) { endpoints := map[string]interface{}{ "api": map[string]interface{}{ "title": "Sulawesi Tengah COVID-19 Data API", - "version": "2.2.0", + "version": "2.3.0", "description": "A comprehensive REST API for COVID-19 data in Sulawesi Tengah (Central Sulawesi)", }, "documentation": map[string]interface{}{