Preheat oven to 425 degrees F.
Sprinkle flour on a countertop.
Roll out the puff pastry into a thin rectangle.
Use a knife to cut the dough into the same number of pieces as the number of mini hotdogs.
Cut the Gruyere into little squares. You will probably have some left over.
Put a Gruyere square on each puff pastry square.
Put a mini hot dog on top of each piece of Gruyere.
Combine spices in a bowl.
Sprinkle the spices on top of the hot dogs.
Beat the egg in a small bowl.
Brush the beaten egg on the edges of the puff pastry squares.
Roll up the squares and seal all the edges so that the cheese does not leak out.
Brush the top with beaten egg and sprinkle with additional dried thyme.
Place on a baking set that is covered with parchment paper.
Bake for 15 or until the tops are golden brown.
Enjoy.