updated swagger library to current version 1.2
add swagger model record generator