<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peterson Andres Sena Arias</title>
    <description>The latest articles on DEV Community by Peterson Andres Sena Arias (@elpupas).</description>
    <link>https://dev.to/elpupas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1249042%2Fe1afca32-f78d-47dd-8926-3c2c75df7c61.jpeg</url>
      <title>DEV Community: Peterson Andres Sena Arias</title>
      <link>https://dev.to/elpupas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/elpupas"/>
    <language>en</language>
    <item>
      <title>Laravel SwaggenerAI: Generate Swagger Documentation with AI in Seconds</title>
      <dc:creator>Peterson Andres Sena Arias</dc:creator>
      <pubDate>Tue, 03 Jun 2025 06:20:47 +0000</pubDate>
      <link>https://dev.to/elpupas/laravel-swaggenerai-generate-swagger-documentation-with-ai-in-seconds-2feg</link>
      <guid>https://dev.to/elpupas/laravel-swaggenerai-generate-swagger-documentation-with-ai-in-seconds-2feg</guid>
      <description>&lt;p&gt;Tired of writing Swagger documentation manually for your Laravel APIs? Meet &lt;strong&gt;Laravel SwaggenerAI&lt;/strong&gt;, a VS Code extension that uses artificial intelligence to automatically generate complete OpenAPI/Swagger documentation.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Multiple AI Providers
&lt;/h3&gt;

&lt;p&gt;The extension supports the best AI models on the market:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemini&lt;/strong&gt; (&lt;code&gt;gemini-2.0-flash&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;OpenAI GPT-4&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anthropic Claude&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Smart Generation
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Automatic controller detection
&lt;/li&gt;
&lt;li&gt;Routes and request analysis
&lt;/li&gt;
&lt;li&gt;Intelligent caching for faster performance &lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Complete Customization
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Flexible AI provider selection &lt;/li&gt;
&lt;li&gt;Simple API key configuration
&lt;/li&gt;
&lt;li&gt;Multiple formatting options
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  How It Works
&lt;/h3&gt;

&lt;p&gt;The extension uses an &lt;strong&gt;abstraction system&lt;/strong&gt; that allows working with different AI providers uniformly. Each provider implements the same interface, ensuring consistency in documentation generation.&lt;/p&gt;

&lt;p&gt;The process is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Analyzes your Laravel controllers
&lt;/li&gt;
&lt;li&gt;Automatically detects routes and methods
&lt;/li&gt;
&lt;li&gt;Generates optimized prompts for each AI provider
&lt;/li&gt;
&lt;li&gt;Produces ready-to-use Swagger/OpenAPI annotations
&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Installation and Usage
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Install from VS Code Marketplace
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Search: "Laravel SwaggenerAI"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp4pjtjq2gmrty4s4g1t6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp4pjtjq2gmrty4s4g1t6.png" alt="Image description" width="579" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install the extension&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgk158uvh6j58aeulmzoq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgk158uvh6j58aeulmzoq.png" alt="Image description" width="800" height="217"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configure your preferred AI provider and API key&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohqr8bv8ils64rrhygbj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohqr8bv8ils64rrhygbj.png" alt="Image description" width="800" height="246"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate documentation with one click!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftmdnd2830xzp7zfu7znu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftmdnd2830xzp7zfu7znu.png" alt="Image description" width="800" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Optimized Performance
&lt;/h3&gt;

&lt;p&gt;The extension includes an intelligent cache system that avoids regenerating documentation unnecessarily, significantly improving response times in large projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Laravel SwaggenerAI?
&lt;/h3&gt;

&lt;p&gt;Save Time: What used to take hours, now takes minutes&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Consistency: Uniform documentation across your entire project&lt;/li&gt;
&lt;li&gt;Flexibility: Choose the AI model that best fits your needs&lt;/li&gt;
&lt;li&gt;Free: Available on VS Code Marketplace&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Useful Links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;📦 VS Code Marketplace
&lt;a href="https://marketplace.visualstudio.com/items?itemName=PESEDevs.laravel-swaggenerai" rel="noopener noreferrer"&gt;Marketplace&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📚 Complete Documentation&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="[Marketplace](https://marketplace.visualstudio.com/items?itemName=PESEDevs.laravel-swaggenerai)"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;☕ Support the Project&lt;br&gt;
If you find this extension useful, consider:&lt;br&gt;
⭐ Starring it on GitHub&lt;br&gt;
&lt;a href="https://buymeacoffee.com/petersonsena" rel="noopener noreferrer"&gt;Buy me a coffee &lt;/a&gt;&lt;br&gt;
📣 Sharing it with other developers&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>documentation</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
