guardrail-dev / guardrail-dev/guardrail
Is Route Introspection a possible feature with code generation?
Open
enhancement
question
scala
- Dominant language
- Scala
- Stars
- 541
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
We have just started to use 💂♀️ guardrail 🛤 and had a question around introspecting routes that is type safe and remains synced with the Swagger paths.
Although Route introspection around **Akka Http** is apparently not possible, with a code generator it maybe possible to create mappings where we want to _refer to_ and _link to_ the other API handler resources safely.
This is the kind of idea that we are used to - where we want to redirect or create resource links that are type safe. https://www.playframework.com/documentation/2.6.x/ScalaRouting#Reverse-routing.
Contributor guide
Assessment
This issue has not been assessed yet.