From ab2176960f6bac042ffae0e1b7026ead3b401c58 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Wed, 1 Jul 2026 14:12:09 +0200 Subject: [PATCH] OpenAPI: Fix smargon descriptions --- broker/gen/model/Dataset_settings_smargon.h | 2 +- broker/jfjoch_api.yaml | 4 +++- broker/redoc-static.html | 2 +- docs/python_client/docs/DatasetSettingsSmargon.md | 4 ++-- frontend/src/client/types.gen.ts | 2 +- frontend/src/client/zod.gen.ts | 12 ++++++++++-- 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/broker/gen/model/Dataset_settings_smargon.h b/broker/gen/model/Dataset_settings_smargon.h index 69d2f6e6..7f1b5cb4 100644 --- a/broker/gen/model/Dataset_settings_smargon.h +++ b/broker/gen/model/Dataset_settings_smargon.h @@ -69,7 +69,7 @@ public: float getChiDeg() const; void setChiDeg(float const value); /// - /// Phi rotation axis (defaults to the omega axis) + /// Phi rotation axis /// std::vector getPhiAxis() const; void setPhiAxis(std::vector const value); diff --git a/broker/jfjoch_api.yaml b/broker/jfjoch_api.yaml index 03e7e892..107b987b 100644 --- a/broker/jfjoch_api.yaml +++ b/broker/jfjoch_api.yaml @@ -588,7 +588,8 @@ components: description: Chi angle in degrees phi_axis: type: array - description: Phi rotation axis (defaults to the omega axis) + description: Phi rotation axis + default: [ 1, 0, 0 ] example: [ 1, 0, 0 ] items: type: number @@ -598,6 +599,7 @@ components: chi_axis: type: array description: Chi rotation axis + default: [ 0, 0, 1 ] example: [ 0, 0, 1 ] items: type: number diff --git a/broker/redoc-static.html b/broker/redoc-static.html index 1301cb42..0dba195e 100644 --- a/broker/redoc-static.html +++ b/broker/redoc-static.html @@ -939,7 +939,7 @@ then image might be replaced in the buffer between calling /images and /image.cb