Generating openapi models

Hi,

our team is trying to generate the models used in free5gc/lib/openapi/models/ and we’re having some trouble replicating your results.
We’ve tried swagger and openapi but our generated models are missing certain structures and some structure tags.
Did you modify the free5gc/lib/openap/models by hand or is it all automatically generated?

Could you please tell me, which tool you used to generate the models?

Thank you!
BR,
Kristjan Voje

We have modify openapi java script to parse the SBI to go models.

Hello, I had a look for the modified openapi java on your github repository but couldn’t find it. Could you give a pointer to where it is or make it available?

I noticed someone else has raised the same question [Question] Did you generate these code fully automaticly? · Issue #1 · free5gc/openapi · GitHub

thanks
Patrick

1 Like

Hello @free5GC. I’ve also been trying to replicate the model generation, but I wasn’t able to. Is there any chance you might share your modified openapi generator?

Thanks in advance…

As far as I know, free5GC team does not plan to release the modified openapi generator in the near future.