VS Code Extensions
astroswagger - Swagger Annotations

astroswagger - Swagger Annotations

by Asteroidea

Automatically generate OpenAPI/Swagger annotations for your code with ease. Speed up API documentation with intelligent annotation generation.

Downloads

9

Rating

— (0)

Version

1.0.0

Last updated

May 12, 2026

astroswagger is a powerful VS Code extension that automatically generates OpenAPI/Swagger annotations for your code. Save time documenting your APIs and maintain consistency across your project with intelligent annotation generation.

Features

  • 🚀 Automatic Swagger Annotation Generation - Generate professional OpenAPI/Swagger annotations with a single command
  • ⚡ Fast & Efficient - Quick annotation generation to speed up API documentation
  • 📝 Code Integration - Seamlessly integrates with your existing codebase
  • 🎯 Smart Detection - Intelligently identifies API endpoints and parameters
  • 🔄 Easy Updates - Update and maintain swagger annotations effortlessly

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "astroswagger"
  4. Click Install

Or install directly from Visual Studio Marketplace

Usage

Generate Swagger Annotations

  1. Open the file containing your API code
  2. Use the keyboard shortcut: Ctrl+Alt+S (Windows/Linux) or Cmd+Alt+S (Mac)
  3. Or run the command: astroswagger: Generate Swagger Annotations from the Command Palette (Ctrl+Shift+P)

The extension will analyze your code and generate appropriate Swagger/OpenAPI annotations.

Open Documentation

  • Run command: astroswagger: Open Documentation to access the full documentation

Keyboard Shortcuts

Action Windows/Linux macOS
Generate Swagger Annotations Ctrl+Alt+S Cmd+Alt+S

Requirements

  • VS Code 1.117.0 or higher
  • Any text editor compatible file

Supported Languages

  • GO

Configuration

astroswagger works out of the box with minimal configuration required. The extension automatically detects your code structure and generates appropriate annotations.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT - See LICENSE file for details

Author

Yassine MANAI

Related extensions