@property<EOL><INDENT>def swagger(self):<DEDENT>
<EOL>self._doc["<STR_LIT>"] = self.paths<EOL>if self.security_definitions:<EOL><INDENT>self._doc["<STR_LIT>"] = self.security_definitions<EOL><DEDENT>if self.gateway_responses:<EOL><INDENT>self._doc[self._X_APIGW_GATEWAY_RESPONSES] = self.gateway_responses<EOL><DEDENT>return copy.deepcopy(self._doc)<EOL>
Returns a **copy** of the Swagger document as a dictionary.

:return dict: Dictionary containing the Swagger document