UI and collection updates
Since last update we've worked hard on fixing small UI glitches in Slingshot and extended the support for importing OpenAPI / Swagger when creating collections.
OpenAPI imports
- Creates
{{baseUrl}}
variable from default server URL - Added support for both YAML and JSON files
- Improved support for Swagger 2.0
- Now imports input parameters and body payloads
- Uses body payload example if exists
- Creates body payload from required field in body schema if example does not exist
- HEAD and GET requests do not set body
- Errors in OpenAPI dialog renders correctly
UI fixes
- Consistently working highlighting of secrets (variables)
- Copying URL as cURL command resolves secrets (variables)
- Sidebar fixes on mobile
- Updating a request properly updates sidebar
- Picking different body types clears / sets Content-type headers correctly