swagger defines that a Document may have a basePath, the current Document class lacks one.
swagger defines that a Document may have a basePath, the current Document class lacks one.