Heat oil in a large nonstick skillet over medium heat and add onion and garlic and cook, stirring, until soft and beginning to brown.
Then add asparagus and peas, cook, stirring frequently for about 5 minutes.
Increase heat to medium-high; cook, stirring once halfway through, about 4 minutes then add it to cooked pasta and top it with a dollop of ricotta and a drizzle of olive oil.