swagger REST integration