We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4da9bd commit e3e6185Copy full SHA for e3e6185
client-generator/troubleshooting.md
@@ -1,5 +1,12 @@
1
# Troubleshooting
2
3
+* If you are running API Platform on development machine which does not have valid TLS certificate,
4
+add `NODE_TLS_REJECT_UNAUTHORIZED=0` before running client-generator
5
+
6
+```
7
+NODE_TLS_REJECT_UNAUTHORIZED=0 npx @api-platform/client-generator --generator typescript https://127.0.0.1:8000/api src/
8
9
10
* The generator does not perform any authentication, so you must ensure that all referenced Hydra paths for your API are
11
accessible anonymously. If you are using API Platform this will at least include:
12
0 commit comments