webapi-discovery / rfcs

w3c WebAPI Discovery Community Group - Request For Comments
https://webapi-discovery.github.io/rfcs
The Unlicense
4 stars 1 forks source link

OpenAPI / Swagger in YAML Media Type #2

Closed kinlane closed 5 years ago

kinlane commented 6 years ago

Is the OpenAPI / Swagger in YAML under 2.1. Content-Types intentionally a duplicate of OpenAPI / Swagger in JSON, or is just copy / paste mistake?

Currently is: OpenAPI / Swagger in YAML | application/openapi+json or application/x-openapi+json

MikeRalphson commented 6 years ago

You're right, it's a copy and paste error.

This is one of the areas which needs updating for the next draft.

In https://github.com/OAI/OpenAPI-Specification/issues/110#issuecomment-364498200 @darrelmiller has proposed the following:

Once these are approved I will update the draft.

Thanks for pointing it out.

kinlane commented 6 years ago

Figured that was the case. We just need @darrelmiller to get to work on a media type for YAML! ;-)

MikeRalphson commented 6 years ago

Re-opening to remind me to action.

MikeRalphson commented 5 years ago

Updated with proposed/approved content-types.