brentvega.bsky.social
@brentvega.bsky.social
Good morning, have you figured anything out yet with what is going on with our schema file? I've been linting the crap out of it, so if you grab the latest version, it will be linted better than the previous one.
February 4, 2025 at 3:12 PM
Also, if there are areas in the code that could use some attention, I may be able to spend some time helping with the project.
January 22, 2025 at 2:35 PM
I'm getting so much closer, but still having issues that I am trying to resolve... Any ideas?

app.swaggerhub.com/apis/BRENT_7...

I'm going to keep trying, but I really appreciate your help!
January 21, 2025 at 8:34 PM
Hello again!
I have my yaml document completely cleaned up and passing a couple linters and checkers...

URL: app.swaggerhub.com/apis/BRENT_7...

When I run the generator, i get the output seen in the image - and the Types.swift is not being created.

LMK if you need any more info.
January 16, 2025 at 10:07 PM
Too much for here, can you take a look at my notes that I've uploaded to our repo?

github.com/ngageoint/MA...
OpenAPI Integration · ngageoint MAGE · Discussion #6
Here is the OpenAPI YAML file... See other comment.
github.com
January 6, 2025 at 10:37 PM
I've so far tried Apple's swift-openapi-generator and the swagger one i found. The problem seems to be with some of the objects and "oneOf", from what I can tell.
January 6, 2025 at 7:08 PM
Also, there are several "Id" properties, but there seems to be confusion in the generator and no actual "Id" gets created for the components
December 31, 2024 at 6:39 PM
I'm getting things like an unmatched `else` statement in "FeatureIdOneOf.swift" file and I don't know how to make the generator fix it, or a way to help it figure stuff out.
December 31, 2024 at 5:28 PM
Also, the generator seems to make the client code just find for Swift6 and Swift5 - but then trying to use the clients just causes error after error.
December 31, 2024 at 5:10 PM