Swagger-like self-documenting abilitiies


#1

Hi!

I was writing documentation for the REST API that I’m preparing at work. While working on it I thought to myself: how cool would it be if UD endpoints would document themselves in a fashion similar to the one people get with flask/swagger… :wink:

So first of all - I’m not sure if it’s something that can be done easily with current implementation. Second thing is: even if technically possible, how challenging would that be? And third issue: does anybody else actually would use it.

Still I decided to throw it out there so that I don’t forget and at least I tickle brain or two for a possible solutions that works already… :wink:


#2

Would be a great idea! I have an issue tracking that very thing here. I think it’s possible but I haven’t dug into it.