RENCI-AUTOMAT / Automat-server

MIT License
0 stars 0 forks source link

servers vs paths in openapi spec #16

Closed cbizon closed 3 years ago

cbizon commented 3 years ago

In our openapi specs, we have the server url as automat.renci.org and then for the query and meta_knowledge_graph we prepend them with 1.1 in the paths element.

But this causes problems for clients. At least 3 clients (strider, BTE, testing) all assume that they can take the server url and append /query to get a valid endpoint.

Can we move the 1.1 to the server url? It will affect the other endpoints as well, but we don't need a 1.0 query endpoint anymore so it shouldn't be terribly disruptive.