Skip to content

Commit 067d6ac

Browse files
committed
feat: use application/yaml instead of application/x-yaml to match Swaggerhub
1 parent 29629e5 commit 067d6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rack/pact_broker/convert_file_extension_to_accept_header.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ConvertFileExtensionToAcceptHeader
1111
".csv" => "text/csv",
1212
".svg" => "image/svg+xml",
1313
".json" => "application/hal+json",
14-
".yaml" => "application/x-yaml"
14+
".yaml" => "application/yaml"
1515
}
1616

1717
def initialize app

0 commit comments

Comments
 (0)