@@ -169,7 +169,7 @@ components:
169169    Warning :
170170      summary : Warning messages sent from the server to the client. 
171171      payload :
172-         $ref : " #/components/schemas/Warning " 
172+         $ref : " #/components/schemas/WarningMessage " 
173173    Error :
174174      summary : Error messages sent from the server to the client. 
175175      payload :
@@ -550,13 +550,6 @@ components:
550550          type : string 
551551          description : The content of the tool result. 
552552
553-     BaseInfo :
554-       properties :
555-         message :
556-           const : Info 
557-       required :
558-         - message 
559- 
560553    InfoMessage :
561554      type : object 
562555      oneOf :
@@ -565,6 +558,15 @@ components:
565558        - $ref : ' #/components/schemas/ConversationDurationLimitInfo' 
566559        - $ref : ' #/components/schemas/ConcurrentSessionUsageInfo' 
567560
561+     BaseInfo :
562+       properties :
563+         reason :
564+           type : string 
565+         message :
566+           const : Info 
567+       required :
568+         - reason 
569+         - message 
568570
569571    Info :
570572      allOf :
@@ -573,21 +575,18 @@ components:
573575          properties :
574576            type :
575577              type : string 
576-             reason :
577-               type : string 
578578          required :
579-             - reason 
580579            - type 
581580
582581    StatusUpdateInfo :
583582      allOf :
584583        - $ref : ' #/components/schemas/BaseInfo' 
585584        - type : object 
586585          properties :
587-             type :
588-               const : status_update 
589586            event :
590587              $ref : ' #/components/schemas/StatusUpdateInfoEvent' 
588+             type :
589+               const : status_update 
591590          required :
592591            - event 
593592            - type 
@@ -608,10 +607,10 @@ components:
608607        - $ref : ' #/components/schemas/BaseInfo' 
609608        - type : object 
610609          properties :
611-             type :
612-               const : conversation_duration_limit 
613610            conversation_duration_limit :
614611              type : integer 
612+             type :
613+               const : conversation_duration_limit 
615614          required :
616615            - conversation_duration_limit 
617616            - type 
@@ -621,53 +620,58 @@ components:
621620        - $ref : ' #/components/schemas/BaseInfo' 
622621        - type : object 
623622          properties :
624-             type :
625-               const : concurrent_session_usage 
626623            usage :
627624              type : integer 
628625            quota :
629626              type : integer 
630627            last_udpated :
631628              type : string 
632629              format : date-time 
630+             type :
631+               const : concurrent_session_usage 
633632          required :
634633            - usage 
635634            - quota 
636635            - last_updated 
637636            - type 
638637
639-     Warning :
638+     WarningMessage :
640639      oneOf :
641-         - $ref : " #/components/schemas/DefaultWarning" 
642-         - $ref : " #/components/schemas/ConversationTermination" 
643-       discrimator :
644-         propertyName : type 
645-         mapping :
646-           conversation_termination : " #/components/schemas/ConversationTermination" 
640+         - $ref : " #/components/schemas/Warning" 
641+         - $ref : " #/components/schemas/ConversationTerminationWarning" 
647642
648-     DefaultWarning :
649-       type : object 
643+     BaseWarning :
650644      properties :
651-         message :
652-           const : Warning 
653-         type :
654-           $ref : " #/components/schemas/WarningTypeEnum" 
655645        reason :
656646          type : string 
647+         message :
648+           const : Warning 
657649      required :
658-         - message 
659-         - type 
660650        - reason 
651+         - message 
652+ 
653+     Warning :
654+       allOf :
655+         - $ref : " #/components/schemas/BaseWarning" 
656+         - type : object 
657+           properties :
658+             type :
659+               $ref : " #/components/schemas/WarningTypeEnum" 
660+           required :
661+             - type 
661662
662-     ConversationTermination :
663+     ConversationTerminationWarning :
663664      allOf :
664-         - $ref : " #/components/schemas/DefaultWarning " 
665+         - $ref : " #/components/schemas/BaseWarning " 
665666        - type : object 
666667          properties :
667668            conversation_termination :
668669              type : integer 
670+             type :
671+               const : conversation_termination 
669672          required :
670-            - conversation_termination 
673+           - conversation_termination 
674+           - type 
671675
672676    Error :
673677      type : object 
0 commit comments