File tree Expand file tree Collapse file tree 3 files changed +21
-13
lines changed
src/simcore_service_webserver/api/v0
tests/unit/with_dbs/04/conversations Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 5555 status_code = status .HTTP_201_CREATED ,
5656)
5757async def create_conversation (
58- _body : Annotated [ _ConversationsCreateBodyParams , Depends ()] ,
58+ _body : _ConversationsCreateBodyParams ,
5959 _query : Annotated [_GetConversationsQueryParams , Depends ()],
6060): ...
6161
Original file line number Diff line number Diff line change @@ -517,26 +517,17 @@ paths:
517517 summary : Create Conversation
518518 operationId : create_conversation
519519 parameters :
520- - name : name
521- in : query
522- required : true
523- schema :
524- type : string
525- title : Name
526520 - name : type
527521 in : query
528522 required : true
529523 schema :
530524 $ref : ' #/components/schemas/ConversationType'
531525 requestBody :
526+ required : true
532527 content :
533528 application/json :
534529 schema :
535- anyOf :
536- - type : object
537- additionalProperties : true
538- - type : ' null'
539- title : Extracontext
530+ $ref : ' #/components/schemas/_ConversationsCreateBodyParams'
540531 responses :
541532 ' 201 ' :
542533 description : Successful Response
@@ -18786,6 +18777,24 @@ components:
1878618777 - content
1878718778 - type
1878818779 title : _ConversationMessageCreateBodyParams
18780+ _ConversationsCreateBodyParams :
18781+ properties :
18782+ name :
18783+ type : string
18784+ title : Name
18785+ type :
18786+ $ref : ' #/components/schemas/ConversationType'
18787+ extraContext :
18788+ anyOf :
18789+ - additionalProperties : true
18790+ type : object
18791+ - type : ' null'
18792+ title : Extracontext
18793+ type : object
18794+ required :
18795+ - name
18796+ - type
18797+ title : _ConversationsCreateBodyParams
1878918798 _InvitationDetails :
1879018799 properties :
1879118800 trialAccountDays :
Original file line number Diff line number Diff line change 1- # conversations tests package
You can’t perform that action at this time.
0 commit comments