Assistant API functions JSON invalid issue

I’m stuck with the same problem.
How to reformat an OpenAPI json to a valid function calling json?