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

As a prospective Spectral user, I have non-HTTP URLs #37

Open
6 tasks
CorbinSimpsonDaedalus opened this issue Sep 5, 2022 · 0 comments
Open
6 tasks

Comments

@CorbinSimpsonDaedalus
Copy link

Hi! I'm evaluating Spectral and found this. It seems like isURL is a bit too restrictive, only accepting HTTP and HTTPS URLs.

User Story Description

As a prospective Spectral user, I would like isURL to accept any URL protocol, because my existing services have non-HTTP URLs.

Acceptance Criteria

  • Spectral accepts non-HTTP examples of URLs in OpenAPI specifications

For example:

schema:
  type: string
  format: url
example: ftp://ftp.example.com/

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
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

1 participant