committing with swagger and pagination