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

Fix NameError (uninitialized constant Grape::ContentTypes::CONTENT_TYPES) for Grape 2.2.0 release #938

Closed
wants to merge 1 commit into from

Conversation

DonMat
Copy link

@DonMat DonMat commented Sep 2, 2024

I prepare simple fix for renamed Grape::ContentTypes::CONTENT_TYPES to Grape::ContentTypes::DEFAULTS from Grape 2.2.0

NameError (uninitialized constant Grape::ContentTypes::CONTENT_TYPES):

grape-swagger (a5e2575) lib/grape-swagger/doc_methods/produces_consumes.rb:10:in block in call' grape-swagger (a5e2575a02e4) lib/grape-swagger/doc_methods/produces_consumes.rb:10:in map'
grape-swagger (a5e2575) lib/grape-swagger/doc_methods/produces_consumes.rb:10:in call' grape-swagger (a5e2575a02e4) lib/grape-swagger/endpoint.rb:160:in produces_object'
grape-swagger (a5e2575) lib/grape-swagger/endpoint.rb:120:in method_object' grape-swagger (a5e2575a02e4) lib/grape-swagger/endpoint.rb:104:in block in path_item'

@dblock
Copy link
Member

dblock commented Sep 21, 2024

Closed in #940.

@dblock dblock closed this Sep 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants