OpenAPI-Specification icon indicating copy to clipboard operation
OpenAPI-Specification copied to clipboard

YAML JSON Schema is not enough for roundtrip-safe

Open ioggstream opened this issue 3 years ago • 10 comments

I suggest

  • OAS 3.1 can reference https://www.ietf.org/archive/id/draft-ietf-httpapi-yaml-mediatypes-01.html#name-yaml-and-json once it's released

Because

  • The "YAML JSON Schema" has some issues with inf/nan that do not map to JSON datatypes.
  • DRY

cc: @darrelmiller https://github.com/ietf-wg-httpapi/mediatypes/issues/8#issuecomment-1073116351

ioggstream avatar Jun 22 '22 09:06 ioggstream

@webron Can you get an authoritative opinion on this?

darrelmiller avatar Jun 30 '22 16:06 darrelmiller