Skip to content

Add API Designer docs#1912

Open
Thenujan-Nagaratnam wants to merge 3 commits into
wso2:mainfrom
Thenujan-Nagaratnam:doc
Open

Add API Designer docs#1912
Thenujan-Nagaratnam wants to merge 3 commits into
wso2:mainfrom
Thenujan-Nagaratnam:doc

Conversation

@Thenujan-Nagaratnam
Copy link
Copy Markdown
Contributor

$subject

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Review Change Stack

📝 Walkthrough

Add API Designer docs

This PR adds comprehensive documentation for the API Designer VS Code extension. The documentation covers the extension's functionality, getting started guide, design workflow, governance features, and an end-to-end tutorial.

Changes

New documentation pages added:

  • docs/api-designer/getting-started.md - Overview of the API Designer extension, its capabilities (designing OpenAPI with GitHub Copilot, visual editing, governance validation, AI readiness analysis), prerequisites, and quick start walkthrough
  • docs/api-designer/design-apis.md - Guide on creating and iteratively improving OpenAPI 3.x specifications using AI-assisted workflows and design view, covering editing with AI, form-based editing, inline validation, and fixing issues
  • docs/api-designer/govern-apis.md - Documentation on running governance checks against OpenAPI specifications, including available report types (AI readiness, design guidelines, OWASP security) and remediation guidance
  • docs/api-designer/end-to-end-tutorial.md - Complete end-to-end workflow tutorial demonstrating the full API design process from drafting specs through governance review and application of fixes

Content removed:

  • api-designer/quick-start.md - Previous quick start guide consolidated into the new documentation structure

Impact

The PR reorganizes and expands API Designer documentation with clear separation of concerns: quick setup (getting-started), core workflow (design-apis), governance (govern-apis), and practical examples (end-to-end-tutorial). This provides users with structured guidance from initial setup through advanced governance features.

Walkthrough

This pull request reorganizes and expands the API Designer documentation. It removes a legacy 68-line installation guide from api-designer/quick-start.md and replaces it with four new comprehensive documentation pages under docs/api-designer/: a getting-started overview (40 lines), a design workflow guide (65 lines), a governance and validation guide (66 lines), and a complete end-to-end tutorial (111 lines). The new structure provides progressive depth from installation through advanced features, with emphasis on AI-assisted workflows and governance validation.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description contains only '$subject' (a placeholder) and lacks required sections from the template such as Purpose, Goals, Approach, and others. Complete the description by filling out required template sections: Purpose (with issue links), Goals, Approach, User stories, Documentation, Automation tests, Security checks, and other applicable sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add API Designer docs' clearly summarizes the main change—adding documentation for the API Designer.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/api-designer/end-to-end-tutorial.md`:
- Line 23: Replace the grammatically awkward sentence "Outcome: A working
OpenAPI draft on workspace." with the clearer phrasing "Outcome: A working
OpenAPI draft in your workspace." — locate the exact string in
docs/api-designer/end-to-end-tutorial.md and update it to the suggested text to
improve readability and natural phrasing.

In `@docs/api-designer/getting-started.md`:
- Line 7: Update the product name spelling on the line containing "Design APIs
with **Github Copilot**" to use the correct brand casing "GitHub Copilot" (e.g.,
replace "Github Copilot" with "GitHub Copilot") while leaving the surrounding
text and emphasis ("API Design Skill") unchanged to maintain consistency across
the docs.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2481c73d-e321-44cd-b6c8-fc473511378b

📥 Commits

Reviewing files that changed from the base of the PR and between 3cae3aa and 2b7b448.

⛔ Files ignored due to path filters (11)
  • api-designer/resources/images/option-01.png is excluded by !**/*.png
  • api-designer/resources/images/option-02.png is excluded by !**/*.png
  • docs/api-designer/images/ai-based-editor.png is excluded by !**/*.png
  • docs/api-designer/images/analyze-view.png is excluded by !**/*.png
  • docs/api-designer/images/api-design-skill.png is excluded by !**/*.png
  • docs/api-designer/images/design-view.png is excluded by !**/*.png
  • docs/api-designer/images/form-based-editor.png is excluded by !**/*.png
  • docs/api-designer/images/open-in-api-designer-chat.png is excluded by !**/*.png
  • docs/api-designer/images/options.png is excluded by !**/*.png
  • docs/api-designer/images/validation-issues-bar.png is excluded by !**/*.png
  • docs/api-designer/images/validation-issues.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • api-designer/quick-start.md
  • api-designer/resources/api-designer-0.1.0.vsix
  • docs/api-designer/design-apis.md
  • docs/api-designer/end-to-end-tutorial.md
  • docs/api-designer/getting-started.md
  • docs/api-designer/govern-apis.md
💤 Files with no reviewable changes (1)
  • api-designer/quick-start.md


3. Copilot Chat uses the `api-design` skill, may ask clarifying questions, and iterates until the specification is ready. It then writes and saves the file.

Outcome: A working OpenAPI draft on workspace.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Improve grammar in outcome sentence.

Consider changing this to Outcome: A working OpenAPI draft in your workspace. for clearer, natural phrasing.

As per coding guidelines, "Provide concise, actionable feedback focused on correctness and best practices."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/api-designer/end-to-end-tutorial.md` at line 23, Replace the
grammatically awkward sentence "Outcome: A working OpenAPI draft on workspace."
with the clearer phrasing "Outcome: A working OpenAPI draft in your workspace."
— locate the exact string in docs/api-designer/end-to-end-tutorial.md and update
it to the suggested text to improve readability and natural phrasing.


## What you can do

- Design APIs with **Github Copilot** using the built-in **API Design Skill**, with guided recommendations and faster fixes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Correct product name spelling to GitHub Copilot.

Line 7 uses Github; please update to GitHub for correct branding and consistency with the rest of the docs.

As per coding guidelines, "Provide concise, actionable feedback focused on correctness and best practices."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/api-designer/getting-started.md` at line 7, Update the product name
spelling on the line containing "Design APIs with **Github Copilot**" to use the
correct brand casing "GitHub Copilot" (e.g., replace "Github Copilot" with
"GitHub Copilot") while leaving the surrounding text and emphasis ("API Design
Skill") unchanged to maintain consistency across the docs.

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