This this operation is kind of the inverse of `_unwrapSwaggerType`, it can probably be put into a function as well. Like `makeSwaggerListType`