Skip to content

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

Description

@CorbinSimpsonDaedalus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions