Skip to content

Add default validation for unique server names#487

Open
ayushshrivastv wants to merge 3 commits intomattpolzin:mainfrom
ayushshrivastv:ValidationBuiltins.swift
Open

Add default validation for unique server names#487
ayushshrivastv wants to merge 3 commits intomattpolzin:mainfrom
ayushshrivastv:ValidationBuiltins.swift

Conversation

@ayushshrivastv
Copy link
Contributor

Fixes #467

Summary

  • add a default-on builtin validation that OAS 3.2 server names are unique across the document
  • include root, path item, operation, and webhook server scopes in the uniqueness check
  • update builtin validator tests for the default validation list and duplicate/unique server name cases

Testing

  • git diff --check
  • attempted swift test --filter BuiltinValidationTests, but SwiftPM dependency fetches timed out in this environment

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

Successfully merging this pull request may close these issues.

Add builtin validation that OAS 3.2.0 Server Object name field is unique across document

1 participant