Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #14918
Closed
Open
Issue created Mar 09, 2023 by Administrator@rootContributor

[REQ] [GO] Update an Error Message within client.decode to be Informative

Created by: confluent-alec-kendall

Is your feature request related to a problem? Please describe.

client.decode only supports decoding of Content-Types JSON and XML. If the Content-Type is not supported, an error message is produced.

The error message produced is vague. Instead, the error message should be informative.

Describe the solution you'd like

Update the error message from "undefined response type" to "Content-Type is not supported for decoding: " + contentType.

Describe alternatives you've considered

Leaving this blank.

Additional context

Leaving this blank.

Assignee
Assign to
Time tracking