prism
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
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
Hey @jayvdb is this what you are looking for? https://docs.stoplight.io/docs/prism/beeaad4dc0227-prism-cli#request-specific-examples
@daniel-white, I believe that functionality does not select examples from within callbacks. It seems to only work within responses.