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

Omit empty host #4

Closed
vearutop opened this issue Apr 20, 2017 · 1 comment
Closed

Omit empty host #4

vearutop opened this issue Apr 20, 2017 · 1 comment

Comments

@vearutop
Copy link
Contributor

Empty string as host value does not pass pattern validation.

    "host": {
      "type": "string",
      "pattern": "^[^{}/ :\\\\]+(?::\\d+)?$",
      "description": "The host (name or ip) of the API. Example: 'swagger.io'"
    },
vearutop referenced this issue in swaggest/swgen Apr 20, 2017
ngdinhtoan added a commit that referenced this issue Apr 20, 2017
@ngdinhtoan
Copy link
Contributor

Done in #5

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