speccy
speccy copied to clipboard
Access to every item on operation's parameters object
I'm trying to create custom rules to openapi file, I need validate every reference on operation's parameters object but only parameters inside operation
parameters: # HEADER REQUEST - $ref: '#/components/parameters/x-request-id' - $ref: '#/components/parameters/x-financial-id' - $ref: '#/components/parameters/x-end-user-login' - $ref: '#/components/parameters/x-end-user-request-date-time' - $ref: '#/components/parameters/x-end-user-terminal' - $ref: '#/components/parameters/x-end-user-last-logged-date-time' - $ref: '#/components/parameters/x-jws-signature' - $ref: '#/components/parameters/x-reverse' - $ref: '#/components/parameters/x-requestId-to-reverse' - $ref: '#/components/parameters/Accept-Language' - $ref: '#/components/parameters/x-channel'
How to make this rule?
Hey. I was the original author of Speccy but I'm no longer with WeWork, and can assure you that nobody is maintaining this project, and nobody is going to help answer any questions.
Can you switch to using Spectral instead? It does everything I ever wanted Speccy to do, and more: https://github.com/stoplightio/spectral/