archiloque/sinatra-swagger-exposer

View on GitHub
lib/sinatra/swagger-exposer/swagger-content-creator.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method to_swagger has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def to_swagger
        result = {
          swagger: '2.0',
          consumes: ['application/json'],
          produces: ['application/json'],
Severity: Minor
Found in lib/sinatra/swagger-exposer/swagger-content-creator.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status