feat: Add Swagger/OpenAPI import support
🌟 This PR introduces the ability to import Swagger/OpenAPI files into the RestClient extension, allowing users to generate HTTP requests directly from their Swagger/OpenAPI definitions.
The following changes have been made:
1️⃣ Added a new SwaggerController class to handle the import process.
2️⃣ Created a swaggerUtils.ts file to house utility functions for parsing and generating requests from Swagger/OpenAPI definitions.
3️⃣ Modified the extension to include the Import from file option in the QuickPick menu.
4️⃣ Auto save and view/clear imported files
Screenshots
Please review the changes and let me know if any modifications are required. 🙏
nice changes. I wonder if it will be merged eventually...
Functionality and PR very well written, I hope it is merged.
Nice! +1
@danishjoseph merged, thanks