dredd icon indicating copy to clipboard operation
dredd copied to clipboard

Add support for Open API 3.0

Open johngluckmdsol opened this issue 9 years ago • 24 comments

It appears that version 3.0 is not yet supported. We're hoping to move to Open API 3.0 because we are better able to represent our JSON Schema with it. It would be great if your tool could suppor it.

johngluckmdsol avatar Oct 13 '17 18:10 johngluckmdsol

Regarding the Open API 3.0, we plan to support it, the question is when and the answer is yet to be determined. Of course anyone can come and contribute the support at any time, and we'll be there to help them - see https://github.com/apiaryio/dredd/issues/837#issuecomment-320020909

Related issues: https://github.com/apiaryio/fury-adapter-swagger/issues/131

honzajavorek avatar Oct 17 '17 14:10 honzajavorek

+1

JurRutten avatar Oct 30 '17 15:10 JurRutten

+1

veewee avatar Oct 30 '17 16:10 veewee

Same here. I'd love to put the express-gateway API under tests but our specs are written in Open API 3.0!

XVincentX avatar Oct 30 '17 18:10 XVincentX

+1

tombevers avatar Oct 31 '17 05:10 tombevers

+1

jonas-depop avatar Nov 24 '17 10:11 jonas-depop

@tombevers @jonas-depop @JurRutten @veewee We understand this is a wanted feature, but next time please use GitHub Reactions to express your feelings. Thanks! ✨

By the way, one of the benefits is we can sort by the reactions:

image

honzajavorek avatar Nov 30 '17 10:11 honzajavorek

Just to reiterate, adding support for a new API description format goes like this...

Dredd consumes API Elements. It uses Fury.js to turn any API description format (currently API Blueprint and Swagger 2.0) into API Elements.

To produce API Elements for various formats, Fury.js uses adapters. So the first and the most important step to add support for OpenAPI 3.0 to Dredd would be to create an adapter for Fury, similar to the one for Swagger. The Fury.js maintainers (@apiaryio/adt) would definitely give a hand and advice to anyone who starts with this.


Note: A scheme of Dredd's parsing stack is in https://github.com/apiaryio/dredd/issues/820, I'd be happy to re-draw it and add it to docs if there's someone who actually needs it.

honzajavorek avatar Jan 03 '18 11:01 honzajavorek

+1

altcatalin avatar Jan 18 '18 13:01 altcatalin

Any update on this?

YGeorge avatar Mar 30 '18 09:03 YGeorge

@YGeorge Implementation for initial OAS3 support is scheduled to start soon, but we don't have more accurate timeframe yet.

michalholasek avatar Apr 05 '18 15:04 michalholasek

+1

joost avatar Apr 26 '18 20:04 joost

@michalholasek Is there a timeframe at this point? It's been a few months since the last update. Curious to see how it's going.

nesl247 avatar Jul 30 '18 19:07 nesl247

@nesl247 There's no update on the timeframe yet, unfortunately.

michalholasek avatar Jul 31 '18 11:07 michalholasek

Is there any alternatives to dredd to test OpenAPI 3.0?

Miouge1 avatar Aug 21 '18 13:08 Miouge1

+1

orontee avatar Aug 30 '18 09:08 orontee

+1

jurgob avatar Sep 08 '18 13:09 jurgob

+1

jcagarcia avatar Sep 26 '18 15:09 jcagarcia

@joost @jcagarcia @jurgob @orontee I'm sorry, but this is not helpful. See https://github.com/apiaryio/dredd/issues/894#issuecomment-348152513 I'm going to lock this issue now.

We, as the team behind the Apiary tools, would like to start with the adapter very soon.

It has two phases. First we need the Fury adapter mentioned earlier, which is the responsibility of @apiaryio/adt. When the adapter is ready, @apiaryio/sjs (currently me) can start working on bringing the very desired OAS3 support to Dredd. The adapter is going to be a parallel repository to https://github.com/apiaryio/fury-adapter-swagger, possibly something like https://github.com/apiaryio/fury-adapter-oas3, so watch out for that and when we kick it off, don't be afraid to give us a hand to make it all faster. See https://github.com/apiaryio/dredd/issues/894#issuecomment-354987264 to understand and do not hesitate to contact us in other issues for help and guidance.

This should stay as a tracking issue of OAS3 support in Dredd. We do track this as the most important thing to be worked on, so there's no need to add more 👍 . We hear you.

Thanks!

honzajavorek avatar Sep 26 '18 15:09 honzajavorek

The latest news about the adapter are under https://github.com/apiaryio/fury-adapter-swagger/issues/131#issuecomment-444849321. I'll keep updating this issue regarding support of OpenAPI 3 in Dredd specifically.

honzajavorek avatar Dec 06 '18 12:12 honzajavorek