How To Generate the TypeScript API Client and Use It in an SPFx Project
This is another post about generating an API client. Creating API clients is one of those tasks that should be automated as much as possible. In most cases, you just write the same code over and over by replicating the API schema. Previously, I was talking about generating Power Platform custom connectors based on an Open API definition. This time let’s talk about doing it in TypeScript and using it in an SPFx project....