Skip to content

Commit

Permalink
change endpoint URL to relative in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Mar 3, 2025
1 parent 1af37be commit 707bbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rswag_ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# (under openapi_root) as JSON or YAML endpoints, then the list below should
# correspond to the relative paths for those endpoints.

c.openapi_endpoint "/api/v0/openapi.json", "Manyfold API v0 Documentation"
c.openapi_endpoint "v0/openapi.json", "Manyfold API v0 Documentation"

# Add Basic Auth in case your API is private
# c.basic_auth_enabled = true
Expand Down

0 comments on commit 707bbea

Please sign in to comment.