GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rentpath/rspec-swagger: Generate Swagger docs from your specs.

This repository was archived by the owner on Dec 2, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
lib/rspec
lib/rspec
 
 
spec
spec
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
rspec-swagger.gemspec
rspec-swagger.gemspec
 
 

Repository files navigation

Rspec Swagger

Generate Swagger docs from your specs

Installation

Add this line to your application's Gemfile:

gem 'rspec-swagger'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rspec-swagger

Usage

RSpec

Place your Swagger documentation in docs/swagger.json and docs/*.json. Then, drop the following in a test file in your test suite:

require 'spec_helper'

describe Rspec::Swagger do
  include Rspec::Swagger::TestHelpers

  it "should describe the api" do
    test_api_correctness
  end
end

This gem is designed for use with rack-swagger.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/rspec-swagger/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Generate Swagger docs from your specs.

Resources

Readme
MIT license
Activity
Custom properties

Stars

6 stars

Watchers

14 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.