tobinbradley / dirt-simple-postgis-http-api

Dirt Simple PostGIS HTTP API
368 stars 101 forks source link

Should /list_tables list views, too? #66

Open bertday opened 8 months ago

bertday commented 8 months ago

I noticed the Swagger docs say that /list_tables shows views as well:

Screenshot 2024-03-10 at 12 44 27 PM

however I'm not seeing views that my Dirt user has select permissions on.

I took a look a the /list_tables code and it looks like it's indeed only looking at tables. I don't have a strong use case for listing views right now so it's not an issue on my end — just wanted to flag that the docs may be out of step with the code.