[openstack-dev] [api] Open API 3.0 for OpenStack API
Gilles Dubreuil
gdubreui at redhat.com
Mon Oct 8 09:58:24 UTC 2018
On 05/10/18 21:54, Jim Rollenhagen wrote:
> GraphQL has introspection features that allow clients to pull the
> schema (types, queries, mutations, etc):
> https://graphql.org/learn/introspection/
>
> That said, it seems like using this in a client like OpenStackSDK
> would get messy quickly. Instead of asking for which versions are
> supported, you'd have to fetch the schema, map it to actual features
> somehow, and adjust queries based on this info.
>
A main difference in software architecture when using GraphQL is that a
client makes use of a GraphQL client library instead of relaying on a SDK.
> I guess there might be a middleground where we could fetch the REST
> API version, and know from that what GraphQL queries can be made.
>
> // jim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20181008/0714efab/attachment.html>
More information about the OpenStack-dev
mailing list