File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed
examples/axum-example/tests/snapshots Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,62 @@ expression: "std::fs::read_to_string(\"openapi.json\").unwrap()"
247247 }
248248 }
249249 },
250+ " /error/header-map" : {
251+ " get" : {
252+ " operationId" : " header_map_endpoint" ,
253+ " responses" : {
254+ " 200" : {
255+ " description" : " Successful response" ,
256+ " headers" : {},
257+ " content" : {
258+ " application/json" : {
259+ " schema" : {
260+ " type" : " string"
261+ }
262+ }
263+ }
264+ },
265+ " 400" : {
266+ " description" : " Error response" ,
267+ " content" : {
268+ " application/json" : {
269+ " schema" : {
270+ " $ref" : " #/components/schemas/ErrorResponse2"
271+ }
272+ }
273+ }
274+ }
275+ }
276+ }
277+ },
278+ " /error/header-map2" : {
279+ " get" : {
280+ " operationId" : " header_map_endpoint2" ,
281+ " responses" : {
282+ " 200" : {
283+ " description" : " Successful response" ,
284+ " headers" : {},
285+ " content" : {
286+ " application/json" : {
287+ " schema" : {
288+ " type" : " string"
289+ }
290+ }
291+ }
292+ },
293+ " 400" : {
294+ " description" : " Error response" ,
295+ " content" : {
296+ " application/json" : {
297+ " schema" : {
298+ " $ref" : " #/components/schemas/ErrorResponse2"
299+ }
300+ }
301+ }
302+ }
303+ }
304+ }
305+ },
250306 " /foo/foo" : {
251307 " post" : {
252308 " operationId" : " signup" ,
You can’t perform that action at this time.
0 commit comments