swagger-blocks icon indicating copy to clipboard operation
swagger-blocks copied to clipboard

I can`t add more than two controllers in Swagger-blocks

Open mhi20 opened this issue 7 years ago • 0 comments

Hi, I can`t add more than two controllers in Swagger-blocks, for example :

SWAGGERED_CLASSES = [ Api::V1::HousesController, Api::V1::CitiesController, Api::V1::ProvincesController, self, ].freeze

In Swagger-ui i have only two items Houses and Cities Documentation but not show Provinces Documentation

In HousesController : class Api::V1::HousesController < ApplicationController include Swagger::Blocks ..... end

In CitiesController : class Api::V1::CitiesController < ApplicationController include Swagger::Blocks ..... end

In ProvincesController : class Api::V1::ProvincesController < ApplicationController include Swagger::Blocks ..... end

mhi20 avatar Feb 08 '18 22:02 mhi20