This thread is trying to answer question "Has anyone found a way to leverage Swagger API for test generation?"
If the API (server side) was (mostly) generated based on the OpenAPI/Swagger document then you can assume all the basic validations work as documented, and you can focus your end-to-end tests on the business capabilities which the APIs are supposed to provide. (And those tests probably require more human intelligence to write.)
But if the API wasn't built in that utopian way, still a lot of the detailed validations could probably better be tested as unit tests instead of end-to-end tests.
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.