docs-v2/assets
Jason Stirnaman 4ee1311e37 feat(api): Experiment with auth input visibility on operation pages
EXPERIMENTAL FINDINGS (Task 4):

Tested RapiDoc's allow-authentication attribute with both render-style
options to determine if it can show credential input on operation pages.

Results:
1. render-style='read' + allow-authentication='true':
   - Auth section (#auth) exists in shadow DOM with input fields
   - BUT filtered out by match-paths (not visible to users)
   - Only matched operation shown, not full spec

2. render-style='focused' + allow-authentication='true':
   - Auth section completely removed from shadow DOM
   - Shows broken links to non-existent #auth section
   - Lists security schemes but no input fields

CONCLUSION:
RapiDoc's built-in auth UI is incompatible with match-paths filtering.
When filtering to single operations, the auth section is either hidden
or removed entirely.

RECOMMENDATION:
Implement custom auth input component (Task 5) using:
- Custom TypeScript component above RapiDoc
- sessionStorage for credential persistence
- Integration with RapiDoc's Try it feature

Code includes detailed inline documentation of findings for future
reference when implementing Task 5.
2026-01-02 16:42:28 -06:00
..
js feat(api): Experiment with auth input visibility on operation pages 2026-01-02 16:42:28 -06:00
styles style(api): Add security schemes section styling 2026-01-02 16:42:28 -06:00
CLAUDE.md Instructions files cleanup: 2025-09-23 10:37:10 -05:00
jsconfig.json Add release artifacts to Clustered release notes (#6132) 2025-06-10 16:57:08 -05:00