From 97e2686e9acd289e1e9fd9b0beddb63368d17058 Mon Sep 17 00:00:00 2001 From: bclayton-usgs <bclayton@usgs.gov> Date: Thu, 19 Mar 2020 13:22:55 -0600 Subject: [PATCH] update swagger --- openapi.properties | 2 +- src/main/resources/swagger/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi.properties b/openapi.properties index 626d1e4..3f88279 100644 --- a/openapi.properties +++ b/openapi.properties @@ -1 +1 @@ -micronaut.openapi.target.file = build/resources/main/swagger/netcdf-swagger.yml +micronaut.openapi.target.file = build/classes/java/main/META-INF/swagger/nshmp-netcdf-openapi.yml diff --git a/src/main/resources/swagger/index.js b/src/main/resources/swagger/index.js index 4d3c03f..88964dd 100644 --- a/src/main/resources/swagger/index.js +++ b/src/main/resources/swagger/index.js @@ -30,7 +30,7 @@ window.onload = function() { }; }, ui = SwaggerUIBundle({ - url: contextPath + "/swagger/netcdf-services.yml", + url: contextPath + "/swagger/nshmp-netcdf-openapi.yml", dom_id: "#swagger-ui", tagsSorter: 'alpha', presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset], -- GitLab