Trying to generate a OpenAPI C client - repeatedly fails to generate "any_type.h"
Trying to explore and see if Convex might be a good choice for a simple side project. I'm basically looking to interact with Convex through a Zig application.
That being the case, it seemed like generating a C client is the right call, unfortunately the generator appears to constantly fail to generate the necessary files. When I go to build, the compiler keeps complaining about a missing file called
any_type.h Not sure whether it's an issue with the spec generator or OpenAPI itself; figured I'd ask here first.
If it matters I'm on Windows.
For reference, this is pretty much the api I need:
import {mutation, query} from "./_generated/server";
import {v} from "convex/values"
export const get = query({
args: {}, handler: async (ctx) => {
return await ctx.db.query("links").collect()
}
})
export const add = mutation({
args: {
label: v.string(),
city: v.string(),
ip: v.string(),
link_id: v.string()
},
handler: async (ctx, args) => {
return await ctx.db.insert("stats", {...args})
}
})Thank you!
