-
Notifications
You must be signed in to change notification settings - Fork 932
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
Can internal refs validation be turned off? #435
Comments
Are the definitions added later? then postpone the validation until the swagger object is complete. Validation is hard-coded, if you'd want to convert it to a a pluggable/rule based validation. |
I'd be glad to do that. |
Yeah, this broke our docs page as well. It couldn't find the config.yml defined global definitions and had to revert to 2.0.10 |
Closing due to inactivity. Available workarounds:
|
I wrote Kobe, that separated
Definitions
fromswagger-php
, but internal ref validation broken this design (because definitions are not in the Swagger object).Currently I stay in
2.0.10
to avoid this (or I can ignore NOTICE log by overwrite $log in\Swagger\Logger
), but I want to know if there are any good solution for this problem, like turn off validation by option, or something else.Thanks!
The text was updated successfully, but these errors were encountered: