How to configure Swagger to use virtual host name?Swagger: Not showing UIHow to integrate swagger-ui in my applicationHow to use own swagger-ui with Liberty JSON generated contentSpring Boot with Custom Converters breaks Swagger & how to move itSwagger is stripping the website name off the Base URLSwagger-ui does not display any api detailsHow to define explicit mapping for swagger-ui.html in spring boot applicationAdd Another Context Root Simulate webseal - Websphere 8.5how to do friendly base url for swagger 2.8.0

Hai la patente? - omission of possessive adjective

My two team members in a remote location don't get along with each other; how can I improve working relations?

Starships without computers?

How to decide whether an eshop is safe or compromised

How do you call it when two celestial bodies come as close to each other as they will in their current orbits?

Why don't sharp and flat root note chords seem to be present in much guitar music?

I think my coworker went through my notebook and took my project ideas

Convert HTML color to OLE

How could China have extradited people for political reason under the extradition law it wanted to pass in Hong Kong?

How does the Saturn V Dynamic Test Stand work?

Earliest evidence of objects intended for future archaeologists?

How to avoid using System.String with Rfc2898DeriveBytes in C#

Are there any OR challenges that are similar to kaggle's competitions?

Have only girls been born for a long time in this village?

Have ejective consonants ever arisen on their own?

Was Switzerland really impossible to invade during WW2?

Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")

Why didn’t Doctor Strange stay in the original winning timeline?

Are there categories whose internal hom is somewhat 'exotic'?

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

Vacuum collapse -- why do strong metals implode but glass doesn't?

Alchemist potion on Undead

To "hit home" in German

Repurpose telephone line to ethernet



How to configure Swagger to use virtual host name?


Swagger: Not showing UIHow to integrate swagger-ui in my applicationHow to use own swagger-ui with Liberty JSON generated contentSpring Boot with Custom Converters breaks Swagger & how to move itSwagger is stripping the website name off the Base URLSwagger-ui does not display any api detailsHow to define explicit mapping for swagger-ui.html in spring boot applicationAdd Another Context Root Simulate webseal - Websphere 8.5how to do friendly base url for swagger 2.8.0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















We use Swagger 2.0 and have Swagger UI that works fine normally. But when accessed through IBM WebSEAL, the junction name is appended at the end of the base path.



For example, the path is http://localhost:8080/swagger normally. This becomes http://localhost:8080/junction/swagger when accessed through the junction.



In the later case, the URL in the examples should become http://localhost:8080/junction/user when hitting the /user endpoint. But the problem is the URL in the example is http://localhost:8080/user which is not correct.



How do I insert the junction name explicitly in the URL without affecting the existing ones?










share|improve this question
































    0















    We use Swagger 2.0 and have Swagger UI that works fine normally. But when accessed through IBM WebSEAL, the junction name is appended at the end of the base path.



    For example, the path is http://localhost:8080/swagger normally. This becomes http://localhost:8080/junction/swagger when accessed through the junction.



    In the later case, the URL in the examples should become http://localhost:8080/junction/user when hitting the /user endpoint. But the problem is the URL in the example is http://localhost:8080/user which is not correct.



    How do I insert the junction name explicitly in the URL without affecting the existing ones?










    share|improve this question




























      0












      0








      0








      We use Swagger 2.0 and have Swagger UI that works fine normally. But when accessed through IBM WebSEAL, the junction name is appended at the end of the base path.



      For example, the path is http://localhost:8080/swagger normally. This becomes http://localhost:8080/junction/swagger when accessed through the junction.



      In the later case, the URL in the examples should become http://localhost:8080/junction/user when hitting the /user endpoint. But the problem is the URL in the example is http://localhost:8080/user which is not correct.



      How do I insert the junction name explicitly in the URL without affecting the existing ones?










      share|improve this question
















      We use Swagger 2.0 and have Swagger UI that works fine normally. But when accessed through IBM WebSEAL, the junction name is appended at the end of the base path.



      For example, the path is http://localhost:8080/swagger normally. This becomes http://localhost:8080/junction/swagger when accessed through the junction.



      In the later case, the URL in the examples should become http://localhost:8080/junction/user when hitting the /user endpoint. But the problem is the URL in the example is http://localhost:8080/user which is not correct.



      How do I insert the junction name explicitly in the URL without affecting the existing ones?







      swagger swagger-ui webseal






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 19:11









      Helen

      38.3k5 gold badges92 silver badges149 bronze badges




      38.3k5 gold badges92 silver badges149 bronze badges










      asked Mar 27 at 14:50









      YasinYasin

      9481 gold badge11 silver badges26 bronze badges




      9481 gold badge11 silver badges26 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380159%2fhow-to-configure-swagger-to-use-virtual-host-name%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380159%2fhow-to-configure-swagger-to-use-virtual-host-name%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript