Skip to content

Multi-artifacts: Secondary artifact not adding examples #1259

Answered by lbroudoux
juaninicolai asked this question in Q&A
Discussion options

You must be logged in to vote

You can have a look at this OpenAPI file: https://github.com/microcks/api-lifecycle/blob/master/contract-testing-demo/apipastries-openapi.yaml
and the corresponding Postman Collection that add 1 example on the GET /pastry/{name} operation: https://github.com/microcks/api-lifecycle/blob/master/contract-testing-demo/apipastries-postman-collection.json.

The matching is done thanks to line 102 where /pastry/:name (+ verb on line 99) is matched with the line 77 in OpenAPI + verb on line 79.

Hope it helps,

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@juaninicolai
Comment options

@lbroudoux
Comment options

@juaninicolai
Comment options

@lbroudoux
Comment options

Answer selected by juaninicolai
@juaninicolai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment