github oriolrius/pki-manager-web v1.2.1
v1.2.1 - OpenAPI Documentation Page

latest releases: v3.15.0, v3.14.2, v3.14.1...
11 months ago

What's New

Features

  • OpenAPI Documentation Page: Added a new /api-docs route in the frontend that displays interactive API documentation using SwaggerUI React
  • Navigation Link: Added "API Docs" link with book icon in the navigation menu
  • Correct Backend URL: SwaggerUI now correctly calls the backend API instead of the frontend origin

Technical Details

  • Fetches OpenAPI spec from backend /api/v1/openapi.json
  • Updates server URL in the spec to point to the correct backend endpoint
  • Includes loading spinner and error state handling
  • Added 4 unit tests for the API docs component
  • Updated to version 1.2.1

Bug Fixes

  • Fixed pnpm-lock.yaml: Updated lockfile to include swagger-ui-react dependency, fixing Docker build failures in CI

Files Changed

  • frontend/src/routes/api-docs.tsx - New API docs page component
  • frontend/src/routes/api-docs.test.tsx - Unit tests
  • frontend/src/routes/__root.tsx - Navigation link
  • frontend/package.json - Added swagger-ui-react dependency
  • pnpm-lock.yaml - Updated with swagger-ui-react dependencies

Don't miss a new pki-manager-web release

NewReleases is sending notifications on new releases.