zipkin-api icon indicating copy to clipboard operation
zipkin-api copied to clipboard

Add unit test to show that the swagger generated POST request is actually valid

Open codefromthecrypt opened this issue 6 years ago • 0 comments

In #51, we learned there are some subtleties about how openapi/swagger generates requests. These may be generator specific, but it could help to have something in a test that shows the POST request actually implies a ListOfSpans payload as opposed to a "spans" -> ListOfSpans. This can be more helpful as we consider moving forward with swagger versions.

cc @drolando in case you know the swag(ger)

codefromthecrypt avatar Apr 30 '19 06:04 codefromthecrypt