Skip to content

Swift4: Need additional initializer which uses properties #6641

Closed
@ehyche

Description

@ehyche
Description

I am filing this issue to track the discussion which took place in this PR for swift3: #6492

The request was to add an additional initializer for swift4-generated models. This initializer would take all of the properties, and thus would allow you to initialize a model object without having to decode it from JSON.

Swagger-codegen version

All

Swagger declaration file content or url

This is a feature request. See the discussion at the end of the PR listed above for context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions