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

OpenAPI v3: Validation for Link#operationRef values #306

Closed
tfesenko opened this issue May 19, 2017 · 3 comments
Closed

OpenAPI v3: Validation for Link#operationRef values #306

tfesenko opened this issue May 19, 2017 · 3 comments

Comments

@tfesenko
Copy link
Member

Related to #305

Link#operationRef is

a relative or absolute reference to an OAS operation. This field is mutually exclusive with the operationId field, and must point to the fragment of a valid OAS definition.

Validate if referenced value exists and it's an operation.

@ghillairet
Copy link
Member

@tfesenko Validation works when operationRef is a local reference but fails when it's an external one (absolute ref).

@ghillairet
Copy link
Member

I would do it once #358 is merged since it is likely to reuse code from it.

@ghillairet
Copy link
Member

See PR #414

ghillairet added a commit that referenced this issue Oct 12, 2017
Change message error for type validation of operationRefs
ghillairet added a commit that referenced this issue Oct 13, 2017
Rename type pointers to more meaningfull names
tfesenko added a commit that referenced this issue Oct 13, 2017
[#306] OpenAPI v3: Validation for Link#operationRef values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants