-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HTTP language support #5568
Comments
OverviewThis project builds upon the existing logic, which generates a request builder for each path segment. The goal is to enhance the current structure by making a few modifications to generate:
ApproachTo achieve this, follow these steps:
The following table summarizes how to map each method:
The following table explains how to map each property in the request body:
|
This is a great start, could you add information about the mapping between parameters and http snippet variables? I think we also wanted to map descriptions |
I'm unsure whether we will be using variables. @darrelmiller, could you please confirm? From our call, I recall you mentioning that we should remove the double curly braces, which suggests users will input the actual values directly. Based on that, my understanding is that the URLs will resemble what's in the documentation, such as:
|
I have added a comment here: #5543 (comment) that I believe we should take into consideration when http is the language. |
@calebkiage is working with Koros now, so looking forward for his review first :-) |
My remarks:
|
|
Add HTTP as a supported language for snippet generation.
Task List
RequestBuilder
class to produce.http
snippet files.RequestBody
object for POST operations, handling edge cases like inheritance and union classes.settings.json
file — brainstorm to define its content and determine the source of this information.The text was updated successfully, but these errors were encountered: