File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,13 +129,13 @@ def test_openapi_schema(client: TestClient):
129129 "schema" : {"type" : "string" , "title" : "Host" },
130130 },
131131 {
132- "name" : "save_data " ,
132+ "name" : "save-data " ,
133133 "in" : "header" ,
134134 "required" : True ,
135135 "schema" : {"type" : "boolean" , "title" : "Save Data" },
136136 },
137137 {
138- "name" : "if_modified_since " ,
138+ "name" : "if-modified-since " ,
139139 "in" : "header" ,
140140 "required" : False ,
141141 "schema" : IsDict (
@@ -171,7 +171,7 @@ def test_openapi_schema(client: TestClient):
171171 ),
172172 },
173173 {
174- "name" : "x_tag " ,
174+ "name" : "x-tag " ,
175175 "in" : "header" ,
176176 "required" : False ,
177177 "schema" : {
Original file line number Diff line number Diff line change @@ -140,13 +140,13 @@ def test_openapi_schema(client: TestClient):
140140 "schema" : {"type" : "string" , "title" : "Host" },
141141 },
142142 {
143- "name" : "save_data " ,
143+ "name" : "save-data " ,
144144 "in" : "header" ,
145145 "required" : True ,
146146 "schema" : {"type" : "boolean" , "title" : "Save Data" },
147147 },
148148 {
149- "name" : "if_modified_since " ,
149+ "name" : "if-modified-since " ,
150150 "in" : "header" ,
151151 "required" : False ,
152152 "schema" : IsDict (
@@ -182,7 +182,7 @@ def test_openapi_schema(client: TestClient):
182182 ),
183183 },
184184 {
185- "name" : "x_tag " ,
185+ "name" : "x-tag " ,
186186 "in" : "header" ,
187187 "required" : False ,
188188 "schema" : {
You can’t perform that action at this time.
0 commit comments