Improve code snipper HTTP
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 242
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Describe the bug
When the HTTP code snippet is generated, it is generated with the first letter in uppercase and the format should be the same as in the header. A difference if the type CURL is selected maintains the correct format.
To Reproduce
Execute a example of request.
Clic in code snipper {}.
In code select HTTP.
Expected behavior
The expected behavior is to keep the same format as the header, as is done in the CURL.
Platform:
OS: Windows 10
vscode version: 1.66.2
extension version: 1.18.7
Example:
Screenshot type http:

Screenshot type curl:

best regards
Guía de contribución
Línea de trabajo
Start by reproducing the request-snippet steps in the issue and compare the generated HTTP and CURL outputs, focusing on capitalization and formatting. The work is done when the HTTP snippet preserves the same format as its header, matching the existing CURL behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- devtools
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100