Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to every item on operation's parameters object #467

Open
bryanus1 opened this issue Aug 26, 2021 · 1 comment
Open

Access to every item on operation's parameters object #467

bryanus1 opened this issue Aug 26, 2021 · 1 comment

Comments

@bryanus1
Copy link

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?

@philsturgeon
Copy link
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants