Skip to content

Commit

Permalink
esg: minor fixes to Swagger config (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
akphi authored Nov 6, 2023
1 parent 5252870 commit f065a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion installers/esg/engine/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
},
"swagger": {
"title": "Legend Engine",
"resourcePackage": "org.finos.legend"
"resourcePackage": "org.finos.legend",
"schemes": ["https"]
},
"server": {
"rootPath": "/engine/api",
Expand Down
4 changes: 3 additions & 1 deletion installers/esg/sdlc/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ swagger:
resourcePackage: org.finos.legend.sdlc.server.resources
title: Legend SDLC
version: local-snapshot
schemes: []
# force HTTPS for Swagger, else when served on HTTPS, it will try to call APIS on HTTP
schemes:
- https
pac4j:
callbackPrefix: /sdlc/api/pac4j
mongoUri: ${MONGODB_URI}
Expand Down

0 comments on commit f065a6a

Please sign in to comment.