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
  • #6465
Closed
Open
Issue created May 28, 2020 by Administrator@rootContributor

[BUG] [Java] [html2] Response headers get '-' replaced with 'Minus'

Created by: ilgrosso

The following JSON excerpt:

"400" : {
            "description" : "An error occurred; HTTP status code can vary depending on the actual error: 400, 403, 404, 409, 412",
            "headers" : {
              "X-Application-Error-Code" : {
                "description" : "Error code",
                "schema" : {
                  "type" : "string"
                }
              },
              "X-Application-Error-Info" : {
                "description" : "Error message(s)",
                "schema" : {
                  "type" : "string"
                }
              }
            }

generates the following Response Headers, with html2:

image

Assignee
Assign to
Time tracking