Skip to content

Commit 48d43f0

Browse files
committed
fix: add curl example to Code Style section in APIAnalysisPage
1 parent e12dd69 commit 48d43f0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

frontend/src/pages/api/APIAnalysisPage.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ export function APIAnalysisPage() {
172172
}`}
173173
</DocsCodeBlock>
174174

175+
<h4 className="text-sm font-semibold text-gray-400 uppercase tracking-wider mt-6 mb-2">Example</h4>
176+
<DocsCodeBlock language="bash">
177+
{`curl -H "Authorization: Bearer <YOUR_API_KEY>" \\
178+
http://localhost:8000/api/v1/repos/repo_abc123/style-analysis`}
179+
</DocsCodeBlock>
180+
175181
{/* Repository Insights */}
176182
<h2 id="insights" className="text-2xl font-semibold text-white mt-12 mb-4">Repository Insights</h2>
177183

0 commit comments

Comments
 (0)