How do we publish it in a child path?
See original GitHub issueWe have our feathers API published under a path. Imagine something like api.domain.com/v2
To do that, we use a reverse proxy (Traeffik)
So the docs would be available under api.domain.com/v2/docs
However, the swagger file still appears in the root under api.domain.com/docs
, while the whole feathers app runs under api.domain.com/v2
. What should be doing?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
5 Helpful Tips For Publishing Your Child's Story
To self-publish, your young writer will need to complete a manuscript (including editing), undertake layout and design specific to the self-publishing venue, ...
Read more >How to Publish a Children's Book: A Guide for New Authors
Complete manuscript: Writing is one of the most important steps. Make sure your copy is a children's story and that it's well written....
Read more >5 Easy Steps to Publishing Your Own Children's Book
Decide “Where” You Want to Publish Your Children's Book. The first step to consider is where you plan on publishing your book. In...
Read more >How to Publish a Children's Book: A Guide for First-Time Authors
How to Publish a Children's Book: A Guide for First-Time Authors · 1. Know the market · 2. Refine your manuscript · 3....
Read more >How to Self-Publish a Children's Book in 7 Magical Steps
1. Before you commit to any single publishing path, it's always good to know what you're in for.x 2. In researching the market,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, the
indexFile
option offeathers-swagger.swaggerUI
could be used to define a custom HTML file. In addition now with SwaggerUI >= 4.9, there is an initializer script, which you can define by setting thegetSwaggerInitializerScript
option. There you can specify theurl
parameter.See the options in the readme https://github.com/feathersjs-ecosystem/feathers-swagger/blob/3621b7796eb371893dde19a1c40c0a0112fa82b2/README.md#swaggerswaggeruioptions
Here is the default implementation https://github.com/feathersjs-ecosystem/feathers-swagger/blob/3621b7796eb371893dde19a1c40c0a0112fa82b2/lib/swagger-ui-dist.js#L3-L21
But I will see if I can add support for it, for the next version.
I’m wondering how to do this in version 2?