Define and generate Swagger JSON files in Ruby.