Mercurial > hg > orthanc
changeset 6330:594d3fe48be3
fix OpenApi
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 24 Sep 2025 18:15:45 +0200 |
| parents | e7e47f3188b8 |
| children | 09654a76d69d |
| files | OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Tue Sep 23 22:15:43 2025 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Wed Sep 24 18:15:45 2025 +0200 @@ -685,9 +685,9 @@ "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false) .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number, "Timeout for the C-FIND command and subsequent C-MOVE retrievals, in seconds (new in Orthanc 1.9.1)", false) - .SetAnswerField("ID", RestApiCallDocumentation::Type_JsonObject, + .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "Identifier of the query, to be used with `/queries/{id}`") - .SetAnswerField("Path", RestApiCallDocumentation::Type_JsonObject, + .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "Root path to the query in the REST API"); return; }
