I am trying to describe the endpoints in an App Engine application and am having difficulty with directory structures that mix static and dynamic content. But yaml rules contradict each other. Before changing the directory structure, does anyone have a recommendation?
The goal is to create a directory containing both documentation (static html files) and implementations.
/api - /v1 - getitdone.py - doc.html - index.html
What i think i should do with my yaml app ...
- url: /api/v1/getitdone script: api/v1/getitdone.py - url: /api/ static_files: api/index.html upload: api/index.html - url: /api static_dir: api
But this causes the dynamic endpoints to fail. I assume the static_dir link static_dir breaking it. How can I do this without describing each script link and static file (I have many more than what is indicated here)?
source share