Sha256: 28aa4a37d1050ed06dad9e0b722d71e924333b41616efb1b1ac2c9c735f31084
Contents?: true
Size: 367 Bytes
Versions: 5
Compression:
Stored size: 367 Bytes
Contents
module SwaggerDefinitions module CommonDefinitions def self.aggregate [ # Import definitions like this: # Swagger::Definitions::Model.definitions # Make sure in swagger_helper.rb's components section you have: # schemas: SwaggerDefinitions::CommonDefinitions.aggregate ].flatten.reduce({}, :merge) end end end
Version data entries
5 entries across 5 versions & 1 rubygems