-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API.Server.main not found #197
Comments
I have encountered the same issue. In my case the openapi: 3.0.1
info:
title: ...
description: ...
version: ...
servers:
- url: http://...
... I haven't looked at public static var `default` = APIClient(baseURL: "http://...") |
I found that without specifying |
Hi i have the same problem. |
I fixed it! |
my openapi.yml file has a server entry at the end:
which leads to the following
APIClient.swift
:This gives the compiler error
Type 'API' has no member 'Server'
. Is this a bug in SwagGen oder is something missing in my openapi.yml?The text was updated successfully, but these errors were encountered: