Skip to content

Commit 9ab0742

Browse files
committed
Update snapshot
1 parent bd5811c commit 9ab0742

1 file changed

Lines changed: 113 additions & 0 deletions

File tree

examples/axum-example/tests/snapshots/integration_test__openapi.snap

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,119 @@ expression: "std::fs::read_to_string(\"openapi.json\").unwrap()"
513513
}
514514
}
515515
},
516+
"/path/multi-path/{arg}/{var1}/{var2}": {
517+
"get": {
518+
"operationId": "mod_file_with_multi_path",
519+
"parameters": [
520+
{
521+
"name": "arg",
522+
"in": "path",
523+
"required": true,
524+
"schema": {
525+
"type": "string"
526+
}
527+
},
528+
{
529+
"name": "var1",
530+
"in": "path",
531+
"required": true,
532+
"schema": {
533+
"type": "string"
534+
}
535+
},
536+
{
537+
"name": "var2",
538+
"in": "path",
539+
"required": true,
540+
"schema": {
541+
"type": "string"
542+
}
543+
}
544+
],
545+
"responses": {
546+
"200": {
547+
"description": "Successful response",
548+
"content": {
549+
"application/json": {
550+
"schema": {
551+
"type": "string"
552+
}
553+
}
554+
}
555+
}
556+
}
557+
}
558+
},
559+
"/path/multi-path/{var1}": {
560+
"get": {
561+
"operationId": "mod_file_with_test_struct",
562+
"parameters": [
563+
{
564+
"name": "var1",
565+
"in": "path",
566+
"required": true,
567+
"schema": {
568+
"type": "string"
569+
}
570+
}
571+
],
572+
"responses": {
573+
"200": {
574+
"description": "Successful response",
575+
"content": {
576+
"application/json": {
577+
"schema": {
578+
"type": "string"
579+
}
580+
}
581+
}
582+
}
583+
}
584+
}
585+
},
586+
"/path/multi-path2/{arg}/{var1}/{var2}": {
587+
"get": {
588+
"operationId": "mod_file_with_multi_path_2",
589+
"parameters": [
590+
{
591+
"name": "arg",
592+
"in": "path",
593+
"required": true,
594+
"schema": {
595+
"type": "string"
596+
}
597+
},
598+
{
599+
"name": "var1",
600+
"in": "path",
601+
"required": true,
602+
"schema": {
603+
"type": "string"
604+
}
605+
},
606+
{
607+
"name": "var2",
608+
"in": "path",
609+
"required": true,
610+
"schema": {
611+
"type": "string"
612+
}
613+
}
614+
],
615+
"responses": {
616+
"200": {
617+
"description": "Successful response",
618+
"content": {
619+
"application/json": {
620+
"schema": {
621+
"type": "string"
622+
}
623+
}
624+
}
625+
}
626+
}
627+
}
628+
},
516629
"/path/prefix/{var}": {
517630
"get": {
518631
"operationId": "prefix_variable",

0 commit comments

Comments
 (0)