Skip to content

HTML generated mangles field names with underscores #1340

@dkvollmar

Description

@dkvollmar
Description

Assuming a field in the schema with underscores
"created_at": {
the field name in the generated JSON is
createdUnderscoreat

openapi-generator version

3.3.2-SNAPSHOT

OpenAPI declaration file content or url

https://gist.github.com/dkvollmar/79b8822ec94073206695366b8674cad2

Command line used for generation

oag generate -i foo.json -g html -o generatedDocs/.

Steps to reproduce

oag generate -i foo.json -g html -o generatedDocs/.

Related issues/PRs
Suggest a fix/enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions