Introduction
OasCore is a Ruby gem designed to generate Open API Specification (OAS) 3.1 documentation directly from YARD comments in your endpoints. It serves as the core engine for OAS generation, while framework-specific adapters like OasRails
(for Ruby on Rails) handle the extraction, integration and additional features.
Key Features
-
π OAS 3.1 Generation: OasCore generates OAS version 3.1, the latest standard, ensuring your API documentation is up-to-date.
-
π YARD-Powered Documentation: Simply annotate your endpoints with YARD tags to include descriptions, parameters, and examplesβno need to learn a new DSL or rely on framework-specific tools.
-
π Framework Agnostic: OasCore is designed to work with any Ruby framework. Adapters like
OasRails
extend its functionality for specific frameworks.
Demo App (OasRails)
π Open Demo App
π€ Username: oasrails
π Password: oasrails