Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are multiple base url's possible #923

Open
seerat16 opened this issue Mar 29, 2024 · 0 comments
Open

Are multiple base url's possible #923

seerat16 opened this issue Mar 29, 2024 · 0 comments

Comments

@seerat16
Copy link

Apipie.configure do |config|
config.app_name = "ABC"
config.app_info["1.0"] = ""
config.generator.swagger.api_host = 'abc.com'
config.doc_base_url = "/apipie"

where is your API defined?

config.api_controllers_matcher = [
"#{Rails.root}/app/controllers/plus/api//*.rb",
"#{Rails.root}/app/controllers/api/
/*.rb"
]
config.api_base_url= "/plus/api"
config.api_base_url = "/api"
end

this is my apipie.rb i want base url for both the controller locations is any way possible i can incorporate both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant