apache / apache/pinot

Swagger: Curl format is no longer platform dependent

Open
#11,666 1 comment 0 reactions 0 assignees View on GitHub
ui
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 55m
Merged PRs (30d)
182

Description

Used to be able to copy curl commands from swagger and paste them into the windows console.

Now all swagger curl commands look to be in unix format with single quote and multiline \n delimiters. So need to rewrite to paste.

Since v 1.0.0

Contributor guide

Open the contributing guide

Research direction

The issue reports that Swagger-generated curl commands changed to Unix quoting and multiline delimiters after v1.0.0, but names no file or test. Start by locating the Swagger output or curl-command generation entry point, compare the current output with Windows console requirements, and verify that copied commands no longer need manual rewriting.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.