Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

swagger-php 2.0.11 added internal ref validation that break the whole thing #3

Closed
AaronJan opened this issue Sep 5, 2017 · 0 comments
Labels

Comments

@AaronJan
Copy link
Owner

AaronJan commented Sep 5, 2017

Since Definitions is outside of swagger-php, so all #ref in request schema will causing error.

After a little digging, I found two solutions:

  1. Stay 2.0.10
  2. Silence the Logger by doing this: \Swagger\Logger::getInstance()->log = function () {};

Obviously, these are not good solutions, I'll continue working on this.

@AaronJan AaronJan added the bug label Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant