prism icon indicating copy to clipboard operation
prism copied to clipboard

As a prototyper, I want to be able to use Prefer header to choose one of the examples in a callback

Open jayvdb opened this issue 3 years ago • 2 comments

User Story Description

As a prototyper,

I want to be able to write multiple examples in a callback,

so I can use Prefer headers with prism to trigger specific content in a callback.

Acceptance Criteria

  • [ ]

Sprint Ready Checklist

  • [ ] Acceptance criteria defined
  • [ ] Team understands acceptance criteria
  • [ ] Team has defined solution / steps to satisfy acceptance criteria
  • [ ] Acceptance criteria is verifiable / testable
  • [ ] External / 3rd Party dependencies identified

jayvdb avatar Oct 24 '22 13:10 jayvdb

Hey @jayvdb is this what you are looking for? https://docs.stoplight.io/docs/prism/beeaad4dc0227-prism-cli#request-specific-examples

daniel-white avatar Oct 25 '22 13:10 daniel-white

@daniel-white, I believe that functionality does not select examples from within callbacks. It seems to only work within responses.

jayvdb avatar Oct 25 '22 21:10 jayvdb