Added hack for multiple usage of types with $ref.
Merge branch 'master' of github.com:HeiaHeia/api-docs