Skip to content

Conversation

@huynguyengl99
Copy link

@huynguyengl99 huynguyengl99 commented Jun 14, 2025

Implement #1426

Adds Scalar as a third documentation UI option alongside SwaggerUI and ReDoc.

Usage:

from drf_spectacular.views import SpectacularScalarView

urlpatterns = [
    path('api/schema/scalar/', SpectacularScalarView.as_view(url_name='schema'), name='scalar'),
]

@codecov
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.59%. Comparing base (e71903e) to head (246c4e7).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1425   +/-   ##
=======================================
  Coverage   98.58%   98.59%           
=======================================
  Files          76       76           
  Lines        9194     9225   +31     
=======================================
+ Hits         9064     9095   +31     
  Misses        130      130           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant