diff --git a/Makefile b/Makefile index 61d6184..16ad34f 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ OTEL_ENV_VARS := OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4318" OTEL_EXPORT APP_ENV_VARS := API_ADDR="127.0.0.1:8080" ${OTEL_ENV_VARS} ### Swagger UI -SWAGGER_UI_VERSION := 5.21.0 +SWAGGER_UI_VERSION := 5.32.0 SWAGGER_UI_DIR := ./server/swaggerui SWAGGER_OLD_URL := https://petstore.swagger.io/v2/swagger.json SWAGGER_NEW_URL := /docs/openapi.yaml @@ -160,7 +160,6 @@ update-swagger-ui: ## Update Swagger UI mkdir -p ${SWAGGER_UI_DIR} curl -s -L https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${SWAGGER_UI_VERSION}.tar.gz | \ tar -zxv --strip-components=2 -C ${SWAGGER_UI_DIR} swagger-ui-${SWAGGER_UI_VERSION}/dist/ - rm ${SWAGGER_UI_DIR}/*.map ${GOSED} -i 's|${SWAGGER_OLD_URL}|${SWAGGER_NEW_URL}|g' ./server/swaggerui/swagger-initializer.js .PHONY: clean diff --git a/server/swaggerui/oauth2-redirect.html b/server/swaggerui/oauth2-redirect.html index 5640917..c4b7be1 100644 --- a/server/swaggerui/oauth2-redirect.html +++ b/server/swaggerui/oauth2-redirect.html @@ -1,79 +1,6 @@ -
-