Hi - I am wondering if you can help me. I am using Axios to orchestrate API calls from the frontend to the NPL backend. Is there a way to (a) generate all the API methods given NPL / swagger-ui; (b) generate the required data structure that has to be passed along. Using AI already helps a lot but it is still tedious. Thanks
If I understand correctly, you’re looking for something like openapi-generator which generates client bindings from an OpenApi spec such as provided by the NPL runtime.
This one seems to provide axios bindings in typescript, not sure if that’s what you’re looking for.
1 Like
Thanks, I’ll try that