Skip to content

Add yapi docs command with glamour rendering#105

Merged
jamierpond merged 15 commits into
nextfrom
jp/docs-cmd
Feb 18, 2026
Merged

Add yapi docs command with glamour rendering#105
jamierpond merged 15 commits into
nextfrom
jp/docs-cmd

Conversation

@jamierpond
Copy link
Copy Markdown
Owner

@jamierpond jamierpond commented Feb 17, 2026

Summary

  • Add yapi docs command with embedded markdown topic documentation (assert, chain, config, environments, jq, polling, protocols, send, testing, variables)
  • Add yapi send for quick one-off requests from the CLI
  • Render docs in terminal using charmbracelet/glamour for styled output
  • Add project layout example and HTTP walkthrough to config docs
  • Improve error messages and add variable interpolation in JQ filters

Test plan

  • make build passes
  • make test passes (33.9% coverage, no regressions)
  • yapi docs lists all topics
  • yapi docs config renders styled markdown in terminal
  • Lint issue is pre-existing on main (utils package name)

🤖 Generated with Claude Code

jamierpond and others added 8 commits February 4, 2026 23:42
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yapi Ready Ready Preview, Comment Feb 18, 2026 3:21am

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.43%. Comparing base (1538edd) to head (34324a5).
⚠️ Report is 1 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next     #105      +/-   ##
==========================================
+ Coverage   52.26%   52.43%   +0.17%     
==========================================
  Files          35       35              
  Lines        3649     3652       +3     
==========================================
+ Hits         1907     1915       +8     
+ Misses       1552     1548       -4     
+ Partials      190      189       -1     

☔ 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.

@jamierpond jamierpond changed the title Docs cmd Add yapi docs command with glamour rendering Feb 17, 2026
jamierpond and others added 2 commits February 17, 2026 16:27
… tests, fix example line number

- DRY up duplicated truncation logic into a UTF-8-safe truncateStr helper
- Add table-driven tests for FindBareRefs covering bare refs, wrapped refs, edge cases
- Fix incorrect line number in bare-variable-warning example comment (18 → 25)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jamierpond jamierpond merged commit 0336df9 into next Feb 18, 2026
11 checks passed
@jamierpond jamierpond mentioned this pull request Feb 18, 2026
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