comparison OrthancFramework/Sources/Enumerations.h @ 4399:80fd140b12ba

New command-line option: "--openapi" to write the OpenAPI documentation of the REST API to a file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Dec 2020 12:21:03 +0100
parents 3dffe8f7af48
children 83371ccdfe80
comparison
equal deleted inserted replaced
4398:38c22715bb56 4399:80fd140b12ba
497 RequestOrigin_Unknown, 497 RequestOrigin_Unknown,
498 RequestOrigin_DicomProtocol, 498 RequestOrigin_DicomProtocol,
499 RequestOrigin_RestApi, 499 RequestOrigin_RestApi,
500 RequestOrigin_Plugins, 500 RequestOrigin_Plugins,
501 RequestOrigin_Lua, 501 RequestOrigin_Lua,
502 RequestOrigin_WebDav // New in Orthanc 1.8.0 502 RequestOrigin_WebDav, // New in Orthanc 1.8.0
503 RequestOrigin_Documentation // New in Orthanc in Orthanc 1.8.3 for API documentation (OpenAPI)
503 }; 504 };
504 505
505 enum ServerBarrierEvent 506 enum ServerBarrierEvent
506 { 507 {
507 ServerBarrierEvent_Stop, 508 ServerBarrierEvent_Stop,
883 bool IsRetiredTransferSyntax(DicomTransferSyntax syntax); 884 bool IsRetiredTransferSyntax(DicomTransferSyntax syntax);
884 885
885 ORTHANC_PUBLIC 886 ORTHANC_PUBLIC
886 bool LookupTransferSyntax(DicomTransferSyntax& target, 887 bool LookupTransferSyntax(DicomTransferSyntax& target,
887 const std::string& uid); 888 const std::string& uid);
889
890 ORTHANC_PUBLIC
891 const char* GetResourceTypeText(ResourceType type,
892 bool isPlural,
893 bool isLowerCase);
888 } 894 }