You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find anything in the existing issues for this, but I'm hoping it's possible somehow.
The API I'm generating against has endpoints that are versioned:
"/slurm/v0.0.41/nodes/": { ... }
And the outputted types are then named:
V0041OpenapiNodesResp
I want to be able to strip out the V0041 from all the types. I can do this pretty easily with awk, but I don't want to introduce more build dependencies unless necessary. Is there a built-in way to create my own name-normalizer function that I can reference in my config.yml file?
Reacted by Duane Waddle, Joe Blubaugh, Yuki Ito and Matthias Preu
Activity
UVduane commentedon Sep 23, 2024
I have a similar thing where every API endpoint for the API is prefixed with
/web/api/v2.1and all of the functions come out namedWebApixxxxx