Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhi20 opened this issue Feb 8, 2018 · 0 comments
Open

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

mhi20 opened this issue Feb 8, 2018 · 0 comments

Comments

@mhi20
Copy link

mhi20 commented Feb 8, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant