From f757026ae7b727ca73870c3bb568ab1f80260cf5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:53:45 +0000 Subject: [PATCH] swagger-codegen@2 2.4.39 swagger-codegen@2: update homepage ``` $ curl -I https://swagger.io/swagger-codegen/ HTTP/2 301 date: Tue, 02 Jan 2024 16:07:29 GMT content-type: text/html; charset=utf-8 cache-control: no-cache pragma: no-cache expires: -1 location: /tools/swagger-codegen/ ``` swagger-codegen@2: update livecheck Co-authored-by: Rui Chen Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com> --- Formula/s/swagger-codegen@2.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/s/swagger-codegen@2.rb b/Formula/s/swagger-codegen@2.rb index a150eb590f53a..adec72d3db91a 100644 --- a/Formula/s/swagger-codegen@2.rb +++ b/Formula/s/swagger-codegen@2.rb @@ -1,12 +1,12 @@ class SwaggerCodegenAT2 < Formula desc "Generate clients, server stubs, and docs from an OpenAPI spec" - homepage "https://swagger.io/swagger-codegen/" - url "https://github.com/swagger-api/swagger-codegen/archive/refs/tags/v2.4.38.tar.gz" - sha256 "32ff457e226204cfbcc998c8414ad91eaef3d2d4ea1e0a68f3bbb010ef188a49" + homepage "https://swagger.io/tools/swagger-codegen/" + url "https://github.com/swagger-api/swagger-codegen/archive/refs/tags/v2.4.39.tar.gz" + sha256 "3d6c735eafc457a905711918759952b1bd8b249add0dc4e2d801047629979e2f" license "Apache-2.0" livecheck do - url "https://github.com/swagger-api/swagger-codegen.git" + url :stable regex(/^v?(2(?:\.\d+)+)$/i) end