This is an automated email from the ASF dual-hosted git repository.

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new bb18aadb7 FINERACT-2147: fix extra swagger UI endpoint paths
bb18aadb7 is described below

commit bb18aadb74d6767d04d2b233b50cb83f2a4da3e6
Author: Adam Monsen <[email protected]>
AuthorDate: Mon Nov 18 13:38:53 2024 -0800

    FINERACT-2147: fix extra swagger UI endpoint paths
    
    I noticed an extra `v1/` while visiting 
https://localhost:8443/fineract-provider/swagger-ui/index.html
    
    All fineract-provider (unit) tests passed.
    
    I also manually tested out hitting a few /api/v1/ endpoints via the Swagger 
UI web page at the URL above and those worked as well.
---
 fineract-provider/config/swagger/fineract-input.yaml.template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fineract-provider/config/swagger/fineract-input.yaml.template 
b/fineract-provider/config/swagger/fineract-input.yaml.template
index f7abfe93c..39494291b 100644
--- a/fineract-provider/config/swagger/fineract-input.yaml.template
+++ b/fineract-provider/config/swagger/fineract-input.yaml.template
@@ -14,8 +14,8 @@ info:
     name: Apache 2.0
     url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
 servers:
-  - url: /fineract-provider/api/v1
-  - url: https://demo.fineract.dev/fineract-provider/api/v1
+  - url: /fineract-provider/api
+  - url: https://demo.fineract.dev/fineract-provider/api
 components:
   securitySchemes:
     basicAuth:

Reply via email to