diff --git a/Dockerfile b/Dockerfile index 9969efb..10bdf53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -101,7 +101,7 @@ RUN cd /tmp/signal-cli-rest-api-src && ${GOPATH}/bin/swag init --requiredByDefau # manually add the json schemas for the receive V1 endpoint to the docs RUN cd /tmp/signal-cli-rest-api-src/docs \ - wget https://github.com/AsamK/signal-cli/releases/download/v${SIGNAL_CLI_VERSION}/signal-cli-${SIGNAL_CLI_VERSION}-json-schemas.tar.gz \ + && wget https://github.com/Gara-Dorta/signal-cli/releases/download/v${SIGNAL_CLI_VERSION}/signal-cli-${SIGNAL_CLI_VERSION}-json-schemas.tar.gz \ && mkdir signal-cli-schemas \ && tar xf signal-cli-${SIGNAL_CLI_VERSION}-json-schemas.tar.gz -C signal-cli-schemas \ && go run add_v1_receive_schemas.go signal-cli-schemas diff --git a/src/docs/README.md b/src/docs/README.md index fddbd4a..5b162a4 100644 --- a/src/docs/README.md +++ b/src/docs/README.md @@ -44,10 +44,13 @@ Install [go](https://go.dev/). ```bash cd docs ``` -1. Run the script to add the receive V1 schemas from https://github.com/AsamK/signal-cli#json-schemas-for-the-json-rpc-mode - ```bash - go run add_v1_receive_schemas.go ./path-to-signal-cli-json-schema-folder - ``` +1. Add the signal-cli receive V1 schemas + * Download the `signal-cli-x.y.z-json-schemas.tar.gz` schema files from https://github.com/Gara-Dorta/signal-cli/releases + * Extract the files + * Run the script to add the schemas + ```bash + go run add_v1_receive_schemas.go ./path-to-signal-cli-json-schema-folder + ``` ### Run the web server