Closed mihirpmehta closed 6 years ago
The framework that SwagGen generates for Swift has some dependencies, Result
being one of them. These dependencies are all defined in PodFile
for Cocoapods, CartFile
for Carthage and Package.swift
for the Swift Package Manager. So it depends on what dependency manager you use for how to integrate these
I have installed the 'Result' it works but ....
I have installed SwagGen by homebrew .... I couldn't find place where i can see this module as dependency ....
You can close this issue.
The dependency files are in your generated directory
Ah i see... Sorry for bothering you... this is the first time i am using Swagger generated code
All good. Let me know if you have any more questions. Closing this for now
When i try to generate the code for my swagger url, It generates a file called APIResult.Swift which looks like this
Compiler gives me error that
If i replace
import Result
withimport Alamofire
the error changes tohere is my URL from which i am generating the code
http://relatr-dev.westeurope.cloudapp.azure.com:8080/swagger/v1/swagger.json