SShortSingh.
Back to feed

Swagger and OpenAPI Are Not the Same Thing, but Here Is Why They Overlap

0
·1 views

Swagger was originally both a specification and a set of tools for describing REST APIs, but it became so widely adopted that its specification was donated to a foundation and rebranded as OpenAPI. Today, the term 'Swagger' is used interchangeably to refer to the old spec, the tooling, or OpenAPI itself, which causes frequent confusion. In practice, most Swagger files are OpenAPI-compatible, meaning they can be processed and converted to documentation using the same workflows. Developers are advised to generate API documentation from existing machine-readable files rather than writing it from scratch. Teams are also encouraged to standardize on one term — either Swagger or OpenAPI — to reduce confusion for new members.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

CTF Challenge Exposes Client-Side Security Flaw: Flag Accessible via Direct API Call

A BroncoCTF web challenge called 'Unblur Me' tasked participants with correctly solving 500 derivative problems to reveal a hidden flag image. However, the entire access gate was implemented in client-side JavaScript, meaning the server applied no actual restriction on the underlying image. The flag image was loaded unconditionally from a public API endpoint at startup, with only a CSS blur filter creating the illusion of it being locked. A direct curl request to the endpoint immediately returned the full, unobscured PNG file containing the flag. The challenge highlights two common security pitfalls: relying on browser-side logic as an access control mechanism, and mistaking CSS visual effects for genuine data protection.

0
ProgrammingDEV Community ·

One Founder Used 9 AI Agents to Run a Real Gym for 120 Days Straight

A solo founder in Dongguan, China, deployed nine autonomous open-source AI agents to operate a physical fitness studio, logging 120 consecutive days of production use. The system ran on just 3.6GB of RAM and autonomously recovered from bugs over 34 days without human intervention. The founder claims no existing label — such as 'AI fitness' or 'agent OS' — accurately describes the architecture, which they now call a 'verification layer for physical business behavior.' Notably, Anthropic's official handbook later described a similar governance model, and Jack Dorsey had previously outlined a comparable verification concept, with none of the three parties in contact. The builder argues this independent convergence across unconnected parties signals the approach is architecturally sound, even before the category has a widely accepted name.

0
ProgrammingDEV Community ·

Developer Builds Minimalist Portfolio Using Only HTML and CSS, No Frameworks

A software developer shared how they built a modern portfolio site using only semantic HTML and CSS grid and flexbox layouts, deliberately avoiding heavy frameworks and large dependencies. The design prioritizes simplicity, featuring clean light backgrounds with subtle animated gradients and a pairing of Outfit and Ovo typefaces. A standout element is a glassmorphic, capsule-shaped navigation bar that floats at the top of the page. The portfolio also includes a live pulsing availability badge on the landing view to signal openness to new engineering roles. The project was shared on DEV Community as a case for choosing simplicity over complexity in web development.

0
ProgrammingDEV Community ·

How AOMEI Partition Assistant Fixed Windows Shrink Volume Limit for Linux Dual-Boot

A user attempting to install Linux Mint Cinnamon alongside Windows 11 on a Samsung Galaxy Book2 Pro 360 was blocked by Windows Disk Management, which could only free 653 MB instead of the needed 100 GB. The limitation occurs because Windows cannot move locked system files such as the page file, hibernation file, and MFT that sit near the end of the partition. After exhausting native Windows fixes — including disabling hibernation, turning off restore points, and running defragmentation in Safe Mode — the user turned to the free third-party tool AOMEI Partition Assistant Standard. Unlike Windows Disk Management, AOMEI boots into a Windows PE environment before the OS fully loads, allowing it to safely relocate unmovable files; the process took 10–20 minutes on an SSD. The resulting 100 GB of unallocated space was then used to install Linux Mint with an Ext4 partition, reusing the existing EFI System Partition for a successful dual-boot setup.