css files cannot be loaded.

Open
#15 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Search the repository for the unpkg.hyperf.wiki URLs and the SwaggerUI HTML snippet to locate the template or entry point that emits them. Check why the referenced CSS and JavaScript assets cannot load, then verify that the Swagger UI page loads its assets successfully.

Written by the indexing model from the issue text.

Description

Css files mentioned in the code cannot be loaded:

    <title>SwaggerUI</title>
    <link rel="stylesheet" href="https://unpkg.hyperf.wiki/swagger-ui-dist@4.5.0/swagger-ui.css" />
  </head>
  <body>
  <div id="swagger-ui"></div>
  <script src="https://unpkg.hyperf.wiki/swagger-ui-dist@4.5.0/swagger-ui-bundle.js" crossorigin></script>
  <script src="https://unpkg.hyperf.wiki/swagger-ui-dist@4.5.0/swagger-ui-standalone-preset.js" crossorigin></script>
Dominant language
PHP
Stars
20
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from hyperf/swagger

All issues in hyperf/swagger

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.