code: def _register_options(self, api_interface):
          # type: (ApiInterfaceBase) -> None
          
          op_paths = api_interface.op_paths(collate_methods=True)
          for path, operations in op_paths.items():
              if api.Method.OPTIONS not in operations:
                  self._options_operation(api_interface, path, operations.keys())
docs: Register CORS options endpoints.