Skip to content

Commit 7a12bf6

Browse files
committed
fix(test): use /anything/* paths for HTTPBin endpoints
/post/* paths don't exist on HTTPBin — /anything/{path} accepts any method and echoes the full request.
1 parent a63fc03 commit 7a12bf6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

demo/examples/tests/multipartEncoding.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tags:
2121
- name: multipartEncoding
2222
description: Multipart encoding content-type tests
2323
paths:
24-
/post/file-with-content-type:
24+
/anything/file-with-content-type:
2525
post:
2626
tags:
2727
- multipartEncoding
@@ -59,7 +59,7 @@ paths:
5959
"200":
6060
description: Request echoed by HTTPBin — inspect `files` for Content-Type
6161

62-
/post/json-metadata-and-file:
62+
/anything/json-metadata-and-file:
6363
post:
6464
tags:
6565
- multipartEncoding
@@ -105,7 +105,7 @@ paths:
105105
"200":
106106
description: Request echoed by HTTPBin — inspect part Content-Types
107107

108-
/post/multi-content-type:
108+
/anything/multi-content-type:
109109
post:
110110
tags:
111111
- multipartEncoding
@@ -142,7 +142,7 @@ paths:
142142
"200":
143143
description: Request echoed by HTTPBin — verify the attachment Content-Type matches your selection
144144

145-
/post/mixed-encoding:
145+
/anything/mixed-encoding:
146146
post:
147147
tags:
148148
- multipartEncoding

0 commit comments

Comments
 (0)