Castid can never be tag so no need to separate it. Allso fixed a small swagger issue