Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update default API URL placeholder, closes CLD-5970 #66

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Compile / compile := ((Compile / compile) dependsOn (Compile / smithyBuild)).val
Compile / packageBin / mappings := {
val defaultMappings = (Compile / packageBin / mappings).value
val smithyDirectory = (Compile / smithyOutputDir).value / "source" / "sources"
val smithyFiles = smithyDirectory ** "**" pair Path.rebase(smithyDirectory, "META-INF/smithy")
val smithyFiles = smithyDirectory ** "**" pair Path.rebase(smithyDirectory, "META-INF/smithy")
smithyFiles ++ defaultMappings
}
Compile / unmanagedSourceDirectories += sourceDirectory.value / "main" / "smithy"
Expand All @@ -28,9 +28,9 @@ lazy val openapi = (project in file("openapi"))
.settings(
Preprocess / sourceDirectory := sourceDirectory.value / "main" / "openapi",
Preprocess / preprocessRules := Seq(
("API_URL_PLACEHOLDER".r, _ => "https://cloud.gatling.io"),
("API_URL_PLACEHOLDER".r, _ => "https://api.gatling.io"),
("VERSION_PLACEHOLDER".r, _ => version.value)
),
Preprocess / preprocessIncludeFilter := "*.yaml",
Preprocess / target := target.value / "openapi",
Preprocess / target := target.value / "openapi"
)
Loading