Hello. This is my first spring framework contribution code.

I created this PR to add an application/yaml MediaType.

Recently, I noticed that application/yaml has been officially added to MediaType. The link I checked is below.

Link - https://www.rfc-editor.org/rfc/rfc9512.html - https://www.iana.org/assignments/media-types/media-types.xhtml

Thanks a lot.

Comment From: pivotal-cla

@Flamme1004K Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@Flamme1004K Thank you for signing the Contributor License Agreement!

Comment From: sdeleuze

Merged and polished, thanks for your contribution.

Comment From: ikaakkola

Hint for others wondering why their requests are suddenly using "application/yaml" instead of JSON - check if you are manually (re)creating MappingJackson2HttpMessageConverter and adding it to the end of a RestTemplates MessageConverters list.