jmcarp / jmcarp/flask-apispec

Update default redoc cdn

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
652
Forks
151
PR merge metrics
No merged PRs in 30d

Description

The default Redoc cdn is for redoc v1.x which doesn't support openapi 3
When OPENAPI_VERSION = 3.x is defined it should default to 'https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.min.js' as per Redoc documentation: https://github.com/Rebilly/ReDoc#releases

Contributor guide

No contributing guide indexed for this repository

Research direction

Search for the OPENAPI_VERSION entry point and the current default Redoc CDN URL. Check how the default is selected for OpenAPI 3.x, update the documented conditional behavior, and verify that OpenAPI 3 uses the specified jsDelivr URL while other versions retain their existing default.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
api, documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.