Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
 
Please complete the following python code precisely:
```python
class Solution:
    def generateParenthesis(self, n: int) -> List[str]:
```