<p dir="ltr">Hello,</p>
<p dir="ltr">I like the idea, although unless I can deliberately hide some views, or much better, if I can select which routes I want to expose, this is a no-go.</p>
<p dir="ltr">There are routes in some of my apps I definitely don't want to expose, like administrative ones.</p>
<p dir="ltr">Also, with routes that require parameters, you will have to expose metadata on what type of data goes there, what the format might be, etc. And even though I tell my users to put an integer in a specific parameter, attackers will still try to inject something else to exploit my app (although that might happen even if I don't expose my routes.) Be ready for security concerns on the long run!</p>
<p dir="ltr">About the Flask registry, I wouldn't bother uploading it there until some level of maturity. Post the library here and there, and if others like it and start using it, you may think about it again.</p>
<p dir="ltr">Best,<br>
Gergely</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 4, 2017, 22:45 Alena Lifar <<a href="mailto:alenaslifar@gmail.com">alenaslifar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello everyone,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">My name is Alena and I have been working on a Flask Extension that collects and exposes routes declared in your Flask application/Blueprint via REST.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Here is Github project: <a href="https://github.com/UseTheApi/flask_url_discovery" target="_blank">https://github.com/UseTheApi/flask_url_discovery</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Could anyone please take a look and let me know if this could be useful? Do you think it has a chance to be added into Flask Extension Registry? Is there anything I have to improve?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have found this link: <a href="http://librelist.com/browser/flask/2010/7/25/flask-extension-review-status/" target="_blank">http://librelist.com/browser/flask/2010/7/25/flask-extension-review-status/</a> which points to <a href="http://github.com/mitsuhiko/flask/tree/master/extreview/" target="_blank">http://github.com/mitsuhiko/flask/tree/master/extreview/</a> for Flask Extensions review and approval but this link is dead.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you for your time.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Kind regards,</div><div style="font-size:12.8px">Alena</div></div>
_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
</blockquote></div>