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
  • #1276
Closed
Open
Issue created Oct 19, 2018 by Administrator@rootContributor

[html] bug in default infoUrl

Created by: ndjensen

Description

The default URL in the html generator is incorrect. The default address is https//openapi-generator.tech. It is missing a colon. https://github.com/OpenAPITools/openapi-generator/blob/v3.3.1/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/StaticHtmlGenerator.java#L72

openapi-generator version

3.3.1

OpenAPI declaration file content or url

petstore.yaml

Command line used for generation

java -jar openapi-generator-cli.jar generate -i ~/test_openapi/petstore.yaml -g html -o ~/openapi-output/petstore

Steps to reproduce

Run the html generator without replacing the infoUrl through configuration options.

Related issues/PRs
Suggest a fix/enhancement

Add a colon to line 72 of StaticHtmlGenerator. While in the area, should consider changing the default Apache license URL to be https instead of http.

Assignee
Assign to
Time tracking