Skip to content

[BUG] [Golang] xml wrapped and name is ignored #21898

@sruehl

Description

@sruehl

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
Description

When you use wrapped xml arrays the instructions are completely ignored.

openapi-generator version

master

OpenAPI declaration file content or url

src/test/resources/3_0/petstore.yaml

Generation Details

just activate withXML

Steps to reproduce

activate withXML and observe that all xml instructions are ignored (e.g. tags>tag or photoUrls>photoUrl)

Related issues/PRs

TBD

Suggest a fix

Merge PR TBD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions