I'm wondering were to find the merging to to merge...
# contributors
f
I'm wondering were to find the merging to to merge all specs into one spec that can then be used for
@ory/client
b
Hi, the merging is done by a github action in https://github.com/ory/sdk You can generate the SDK from there too. Just follow the instructions in the README and replace the
FORCE_PROJECT
env variable with
client
. So
export FORCE_PROJECT=client
.
f
Yes, I got that! I'm running:
FORCE_VERSION=test FORCE_PROJECT=client ./scripts/generate.s
But I'm editing the hydra project and the merge is not done into the
test
spec. Wanted to test the sdk and hydra self-service with my new feature and API endpoints. Anyway I've worked around and used the proper
@ory/hydra-client
directly in the hydra self-service
s
ah that is done in our closed source repo afaik
f
No worries, maybe a script into the sdk repository would be nice to test
s
yeah but the problem is the client includes some stuff from our cloud api as well, like
createProject
and the version in the cloud is also not always exactly the same as in the open source projects
why do you need that client?
f
Because the hydra self service sample now ships with the Ory/client library and I wanted to test the sdk integration of my device grant branch
Switching from ory/client to ory/hydra-client in the self service did the trick
s
ah hm ok I see... maybe @high-optician-2097 has an idea how to resolve this I guess we could copy the script for sdk generation and exclude cloud apis there
f
Yes that would work :)