https://www.ory.sh/ logo
#talk-hydra
Title
# talk-hydra
h

hallowed-postman-21092

02/17/2022, 4:24 AM
Hello, @User Thanks for your feedback. I still really want to update the SDK PHP. Is it possible to share a guide for How to update? I still not understand at all.
h

high-optician-2097

02/17/2022, 7:33 AM
you will need to make the change in: https://github.com/OpenAPITools/openapi-generator :)
h

hallowed-postman-21092

02/17/2022, 7:50 AM
I am still not clear why I need to change in that place. Because I can run CLI directly to your SDK. However, If the main point should focus on OpenAPi generator still waiting for this PR got accept ;( https://github.com/OpenAPITools/openapi-generator/issues/11038
h

high-optician-2097

02/17/2022, 8:43 AM
because any manual changes wil be overwritten next time we run the generator
h

hallowed-postman-21092

02/17/2022, 2:02 PM
The generator that you mentioned should run with
Copy code
sdk/scripts/generate.sh
, right? Is it correct? Not allowed running an external command from any version of the generator. Am I correct? FYI, I run the command through here
That's means I just waiting for the new version of the OpenAPI generator to support a new version of PHP, right?
One more thing I was wondering. when I generate SDK with OpenAPI generator from my local SDK update to a new version of PHP. That's not matched with what you suggested to me to make a change in the generator project. Do you know what I mean? Example of CLI
Copy code
docker run --rm \
  -v ${PWD}:/local openapitools/openapi-generator-cli generate \
  -i /local/spec/hydra/v1.11.1-pre.5.json \
  -g php \
  -o local/clients/hydra/php
2 Views