Skip to content

Conversation

@DavidTanner
Copy link
Contributor

Checklist

When the HTML uses an absolute URL, /documentation/index.css, then the browser requests the data from the /. This is an issue if swagger is set up as a nested route. I added a test for this where swagger is registered as a child of another prefix route.

Fixed #176

Related to #164, #162

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dancastillo
Copy link
Member

@DavidTanner looks like CI is failing for ubuntu

@DavidTanner
Copy link
Contributor Author

@dancastillo when was the last time the build passed for this branch? I saw other PRs that were merged with the same failures. I can check tomorrow

@dancastillo
Copy link
Member

Good callout, looks like this has been failing for a while now https://github.com/fastify/fastify-swagger-ui/commits/v4.x/

Copy link
Member

@dancastillo dancastillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gurgunday
Copy link
Member

@dancastillo can you make a PR removing the package manager ci?

@gurgunday
Copy link
Member

Oh never mind it's a backport

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit e32e32c into fastify:v4.x Oct 17, 2024
18 of 21 checks passed
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

Successfully merging this pull request may close these issues.

4 participants