README.md in swagalicious-0.1.0 vs README.md in swagalicious-0.2.0
- old
+ new
@@ -25,17 +25,15 @@
Add the following to your `spec_helper.rb` or add a new `swagger_helper.rb`
```ruby
require 'swagalicious`
-DEFINITIONS = Oj.load(File.read(File.expand_path("docs/definitions.json", __dir__))).freeze
-
RSpec.configure do |c|
c.swagger_root = "public/swagger_docs" # This is the relative path where the swagger docs will be output
c.swagger_docs = {
"path/to/swagger_doc.json" => {
- swagger: "3.0",
+ openapi: "3.0.3",
basePath: "/api/",
version: "v1",
info: {
title: "Namespace for my API"
},
@@ -55,10 +53,10 @@
## Contributing
-Bug reports and pull requests are welcome on GitHub at https://github.com/eugene@xtreme-computers.net/swagalicious.
+Bug reports and pull requests are welcome on GitHub at https://github.com/ehowe/swagalicious.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).