UPdated Swagger converter class.