salvo-rs/salvo

OpenAPI page does not render

Closed this issue · 0 comments

Describe the bug
OpenAPI page does not render. All dependent files .js and .css get redirected to .js/ and .css/ respectively. This bug appears to be introduced in version 0.69.0. Downgrading to 0.68.5 fixes the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the OpenAPI example code in the docs
  2. Open the /swagger-ui/ url

Expected behavior
OpenAPI page gets rendered