updated to build Swagger model