From 10e7eba5e79861604c3965e99ec5972f4bb2ca8c Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 3 Aug 2021 10:28:36 -0600 Subject: [PATCH] update name --- .../usgs/earthquake/nshmp/netcdf/swagger/UpdateSwagger.java | 2 +- .../gov/usgs/earthquake/nshmp/netcdf/www/Application.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/gov/usgs/earthquake/nshmp/netcdf/swagger/UpdateSwagger.java b/src/main/java/gov/usgs/earthquake/nshmp/netcdf/swagger/UpdateSwagger.java index 5c66bb2..2a00e1f 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/netcdf/swagger/UpdateSwagger.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/netcdf/swagger/UpdateSwagger.java @@ -55,7 +55,7 @@ class UpdateSwagger { options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); var yaml = new Yaml(options); - var out = SWAGGER_DIR.resolve("netcdf-swagger-" + nshmGroup.model() + ".yml"); + var out = SWAGGER_DIR.resolve("ws-static-swagger-" + nshmGroup.model() + ".yml"); try { var yamlFile = yaml.loadAs(new FileReader(yamlPath.toFile()), Swagger.class); diff --git a/src/main/java/gov/usgs/earthquake/nshmp/netcdf/www/Application.java b/src/main/java/gov/usgs/earthquake/nshmp/netcdf/www/Application.java index 22c7312..b4550bf 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/netcdf/www/Application.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/netcdf/www/Application.java @@ -6,8 +6,8 @@ import io.swagger.v3.oas.annotations.info.Info; @OpenAPIDefinition( info = @Info( - title = "NetCDF Services", - description = "### Get hazard curves from a NSHM NetCDF file\n" + + title = "NSHMP Static Web Services", + description = "### Get static hazard curves\n" + "See the service usage for current NSHM with supported longitudes, " + "latitudes, site classes, and IMTS")) public class Application { -- GitLab