swagger-combine icon indicating copy to clipboard operation
swagger-combine copied to clipboard

Add Support for OpenAPI v3.0

Open fabsrc opened this issue 7 years ago • 4 comments

The OpenAPI (fka Swagger) was recently released. It includes several changes and new features which should also be useable in Swagger Combine.

This is only possible after Swagger Parser supports OpenAPI v3.0.

fabsrc avatar Sep 05 '17 08:09 fabsrc

https://github.com/BigstickCarpet/swagger-parser/issues/72

shreyas-agnihotri avatar Dec 22 '17 07:12 shreyas-agnihotri

Looks like Swagger Parser finally supports OpenAPI 3.0 which means we can start implementing support for OpenAPI 3.0 as well.

fabsrc avatar May 30 '18 11:05 fabsrc

So what's the status on this? Currently in the middle of a micro-services project using Express-Gateway and I would love to have a way to merge all OpenAPI 3 specs supplied by those microservices into one so Swagger UI or Postman can use it.

ThaDaVos avatar Mar 14 '19 15:03 ThaDaVos

So after reading through the code and not understanding what was going on, I just experimented and this seems to work. Just drop an "openapi": "3.0.0" in place of the "swagger": "2.0" as the first line of the config, and everything seemed to work. Haven't tried to validate it or use for real, but looks promising 🤷‍♂️

ashiemke avatar Mar 22 '19 05:03 ashiemke