swagger-test-templates icon indicating copy to clipboard operation
swagger-test-templates copied to clipboard

Can you support openapi 3.0.0?

Open shenghu opened this issue 7 years ago • 5 comments

This is good framework. I'm very interested to see how to use it to test our APIs. But we are moving from swagger 2.0 to openapi 3.0.0. Is it easy for you to support openapi 3.0.0?

shenghu avatar Sep 05 '17 01:09 shenghu

I haven't been able to dive in and figure out the parts that will have to change. I can't give you an ETA on this right now, but it is on the todo list

noahdietz avatar Sep 05 '17 17:09 noahdietz

I would love to see this support OpenAPI 3 but I think if that's a lot of changes it might worth writing it from scratch with following goals:

  • No more templating. JavaScript is a dynamic language, test API dynamically using the spec.
  • Middleware architecture: Allow middleware interceptors for request and response flows and implement most of behaviors as middleware. Even test assertion can be a middleware.
  • Run tests in parallel by default for speed
  • Allow defining sequence of API calls and sequence of expectations. Some APIs are stateful (SAD!)

mohsen1 avatar Sep 05 '17 17:09 mohsen1

Thanks @mohsen1 and @noahdietz for your efforts!

I look forward to your work as we are also migrating to 3.0.0 and testing the API is the only stopper.

Thanks!

lcofre avatar Oct 03 '17 08:10 lcofre

Hi, @mohsen1 @apigee-127, any news about this issue?

jkomyno avatar Feb 25 '19 13:02 jkomyno

Hi @jkomyno this project is not actively developed right now and there hasn't been any progress on this work. Apologies.

noahdietz avatar Feb 25 '19 17:02 noahdietz