From 9373ea195594144d8dd5bdd109d28df88ec68246 Mon Sep 17 00:00:00 2001 From: dkrantsberg Date: Thu, 7 Mar 2019 16:38:35 -0500 Subject: [PATCH 1/2] feat: openepi.json and API explorer honor basePath --- .../app/templates/public/index.html.ejs | 4 ++-- packages/rest/src/rest.server.ts | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/cli/generators/app/templates/public/index.html.ejs b/packages/cli/generators/app/templates/public/index.html.ejs index 7f9ae8035648..92811d3935dc 100644 --- a/packages/cli/generators/app/templates/public/index.html.ejs +++ b/packages/cli/generators/app/templates/public/index.html.ejs @@ -59,8 +59,8 @@

<%= project.name %>

Version <%= project.version || '1.0.0' %>

-

OpenAPI spec: /openapi.json

-

API Explorer: /explorer

+

OpenAPI spec: openapi.json

+

API Explorer: explorer