code: def to_document(self):
          
          return dict(
              info=thaw(self.info),
              paths=thaw(self.paths),
              definitions=thaw(self.definitions),
              securityDefinitions=thaw(self.securityDefinitions),
              security=thaw(self.security),
              swagger=thaw(self.swagger),
          )
docs: Serialize this specification to a JSON-compatible object representing a
          Swagger specification.