Typescript Routes for Requests

Is there a way to get the actual route template generated in typescript for a request?

[Route("/api/something/{id}")] for example is not accessible anywhere and I’d like to use that route. I guess if it isn’t generated in typescript, is there an easy way to get all the types that are used in requests via reflection so I can generate my own file?

You can fetch the ServiceStack metadata for your services at /types/metadata, e.g http://techstacks.io/types/metadata.json

You can also get them from /openapi if you register the OpenApiFeature plugin, e.g: http://techstacks.io/openapi