swagger integration

finally mergable...