{"repo":"skryukov/skooma","free":true,"listed":false,"github":"https://github.com/skryukov/skooma","clone":"git clone https://github.com/skryukov/skooma.git","description":"Skooma is a Ruby library for validating API implementations against OpenAPI documents.","language":"Ruby","stars":208,"topics":["hacktoberfest","ruby","openapi","rspec"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Skooma – Sugar for your APIs Skooma is a Ruby library for validating API implementations against OpenAPI documents. Features - Supports OpenAPI 3.1.0 - Supports OpenAPI document validation - Supports request/response validations against OpenAPI document - Includes RSpec and Minitest helpers Learn more - Let there be docs! A documentation-first approach to Rails API development Skooma is built by Evil Martians , an American design and engineering consultancy for developer tools, AI, and cybersecurity startups . Installation Install the gem and add to the application's Gemfile by executing: $ bundle add skooma If bundler is not being used to manage dependencies, install the gem by executing: $ gem install skooma Usage Skooma provides rspec and minitest helpers for validating OpenAPI documents and requests/responses against them. Skooma helpers are designed to be used with rails request specs or rack-test . RSpec Configuration Validate OpenAPI document Validate request Minitest Configuration Validate OpenAPI document Validate request Splitting specs across files Skooma resolves external $ref s relative to the OpenAPI document's directory, so you can split a large spec into multiple files: References are wrapped with the appropriate OpenAPI object type based on context — $ref inside responses loads as a Response, inside parameters as a Parameter, inside schema as a JSON Schema, and so on. Chained (A → B → C) and self-recursive schemas work out of the box. Only local files are res","default_branch":null,"files":null,"tree":[],"storefront":"/r/skryukov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skryukov/skooma/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}