Skip to content

Commit

Permalink
feat: use application/yaml instead of application/x-yaml to match Swa…
Browse files Browse the repository at this point in the history
…ggerhub
  • Loading branch information
bethesque committed Sep 20, 2018
1 parent 29629e5 commit 067d6ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ConvertFileExtensionToAcceptHeader
".csv" => "text/csv",
".svg" => "image/svg+xml",
".json" => "application/hal+json",
".yaml" => "application/x-yaml"
".yaml" => "application/yaml"
}

def initialize app
Expand Down

0 comments on commit 067d6ac

Please sign in to comment.