From f49f3290151f97254ee187bc0d8020d789adfb37 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:20:37 +0100 Subject: [PATCH] Refactor OpenAPI client script and backend server logic. Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument. --- config_prod.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config_prod.json diff --git a/config_prod.json b/config_prod.json new file mode 100644 index 0000000..6b5905a --- /dev/null +++ b/config_prod.json @@ -0,0 +1,9 @@ +{ + "ssl_cert_path": "ssl/mx-aare-test.psi.ch.pem", + "ssl_key_path": "ss/mx-aare-test.psi.ch.key", + "OPENAPI_URL": "https://mx-aare-test.psi.ch:1492/openapi.json", + "SCHEMA_PATH": "./src/openapi.json", + "OUTPUT_DIRECTORY": "./openapi", + "SSL_KEY_PATH": "/home/jungfrau/heidi-v2/backend/ssl/mx-aare-test.psi.ch.key", + "SSL_CERT_PATH": "/home/jungfrau/heidi-v2/backend/ssl/mx-aare-test.psi.ch.pem" +} \ No newline at end of file