Updated Swagger contribution made by  Grzegorz Godlewski.