swagger-api / swagger-api/swagger-codegen
[Go] Nonsense http checks generated
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
client generated has nonsense tests of the http code https://github.com/instaclustr/cassandra-sidecar-go-client/blob/master/pkg/cassandra_sidecar/api_operations.go#L107-L112
Swagger-codegen version
3.0.20
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
clone https://github.com/instaclustr/cassandra-sidecar-go-client
then run ./regenerate.sh at the root level of the repo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Clone instaclustr/cassandra-sidecar-go-client and run ./regenerate.sh to reproduce the generated checks. Inspect pkg/cassandra_sidecar/api_operations.go lines 107-112, resources/client_gen/api_defs/cassandra_sidecar-2.0.0.yaml, and resources/client_gen/generate_api_client.sh. Done means the generated HTTP checks are valid and no longer nonsensical.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, openapi
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100