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
  • Merge requests
  • !13925

[GO] Fix broken time import when value is of pointer type

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/parvit/broken-go-imports into master Nov 05, 2022
  • Overview 1
  • Commits 2
  • Pipelines 1
  • Changes 1

Created by: parvit

Hi, this fix restores the correct generation of go model files that contain a pointer to a time.Time member value which was broken with https://github.com/OpenAPITools/openapi-generator/commit/fa4f7e07fee865ee1b1b87690e1540733cfa0ea2?diff=unified

Example file affected file is samples/openapi3/client/petstore/go/go-petstore/model_one_of_primitive_types.go, see https://github.com/OpenAPITools/openapi-generator/pull/13909#issuecomment-1303046759

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/parvit/broken-go-imports