metosin / metosin/compojure-api

Swagger page broken starting with 2.0.0-alpha32

Open
#489 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
1.1k
Forks
146
PR merge metrics
No merged PRs in 30d

Description

## Library Version(s)
2.0.0-alpha32
## Problem
The swagger page breaks with the 2.0.0-alpha32 changes. The index.html page loads, but an HTTP 404 is given when it tries to load the css and javascript files.
Perhaps there is a new URI for them? The files to download in the index.html file have the href as, for example, "href='css/reset.css'". This worked in 2.0.0-alpha31

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Swagger index.html and asset paths between versions 2.0.0-alpha31 and 2.0.0-alpha32, focusing on references such as css/reset.css and the JavaScript files. Reproduce the page load and its HTTP 404 responses, then verify that the CSS and JavaScript assets load successfully in the affected version.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.