Skip to content

Confused about API.swift generated file #2768

Open
@cosimtaiuz

Description

@cosimtaiuz

Hello,

I have setup my iOS project as outlined in the steps and it generated both some files in a folder called AmplifyModels and a file called API.swift which I noticed I could remove and the project worked just the same.

I'm confused about this, which of the two generated things should I keep if I'm using Amplify? From my research it looks like the API.swift file is generated if I'm using AppSync directly, but since I'm not why was it?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    DataStoreDocumentation dealing with the DataStore, can be for any/all platform(s)amplify/iosMostly related to iOS software.feature-requestRequest a new featurep3missing info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions