Fixes #528. Dynamic swagger HTML page

This allows us to choose the static root at runtime.