This question might be a bit out in left field but I had an idea.
My endpoints.ps1 contains roughly 15 endpoints for various things, some which are quiet lengthy scripts. Would it make sense to break these endpoints out into their own file?
I tend to manage my endpoints via the script itself since editing it from the UI causes the formatting to get all wonky.
We added a -Path parameter to New-UDEndpoint for this reason in 2.10 (April release). You won’t be able to manage this from the UI but if you are using the file directly anyways, you’ll be able to just specify a path and have multiple files for your endpoints.
New-UDEndpoint -URL /test -Method GET -Path test.ps1