microsoft / microsoft/kiota

In-Context HTTP Snippet generation

Open
#5,546 1 comment 1 reaction 0 assignees View on GitHub
enhancement help wanted type:enhancement vscode-extension
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

As part of the HTTP Snippet generation, we want to allow developers to generate HTTP snippets as they are browsing the API Explorer. We want them to be able to explorer but also test an API as they move along their discoverability journey.

* Developers needs to be able to select an endpoint and generate an http snippet in the current active http file. If not active http file, it should create a temporary file.
* When a developer is using a temporary file, at save time, it should ask the user to save it as part of their project
* When a developer is generating another http snippet, it should append it to the active http file.

@maisarissi can you work with design on getting the right interaction with API Explorer?

Contributor guide

Open the contributing guide

Research direction

Start by locating the API Explorer integration and the existing HTTP snippet generation flow. Review how the active HTTP file and temporary files are handled, then work with design on the interaction. Done means endpoint selection generates snippets, appends to an active file, creates a temporary file when needed, and prompts to save it at save time.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, openapi
Domain
api, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.