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

Bugfixing/set real js null to url validator #36

Conversation

ozmar-11
Copy link

@ozmar-11 ozmar-11 commented Aug 8, 2019

Closes #19

Add a JS function to validate the URL before pass it to the swagger UI, in order to detect if a JS null value is required instead of passing a string with null

- In order to pass a real null and not an string 'null' we add the
validationUrl function to check the value of the url and return the
url string or JS null value
- As this action is empty we put it in one line
@zuzannast
Copy link
Owner

Thanks for handling this!

@zuzannast zuzannast merged commit 04dfc91 into zuzannast:1.1.3-version Sep 9, 2019
@ozmar-11 ozmar-11 deleted the bugfixing/set-real-js-null-to-url-validator branch September 9, 2019 14:07
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.

2 participants