swagger translator: add a warning when representation has no identifier