Skip to content
Discussion options

You must be logged in to vote

Ok, so I've immediately tried my own suggestion and created a single instance of SpecTree in a routes/spec.py file that can be imported from across the app to register endpoints and set up validation.

Rubber ducking really is extremely useful. Leaving this here so hopefully it can be useful to someone else in the future 😃

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guilhermeschmitd-hotmart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant