-
Notifications
You must be signed in to change notification settings - Fork 9.1k
"No operations defined in spec!" is shown with path with $ref in 3.13.0 version #4350
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
Comments
Thanks for the report, @jiguillen - I bumped into this while helping out on a support ticket, and have already started on a fix! |
The |
I am not entirely sure if delayed resolving for paths is possible: a remote path item may define a |
@glipman yeah, my solution is likely going to be check for $ref at the path level, and if it's there, go ahead and resolve. Using https://gist.github.com/shockey/8c60fc810aa513fb27c9d4f025d0ac16 to test. |
fixed! thanks for the report, @jiguillen 👍 |
I noticed that this |
@heldersepu, yeah that's been around since 3.0.0 I believe. it's a different root cause: the filter is modifying the output of a selector ( There's ways to fix that, but they aren't closely related to this issue 😄 |
Locking due to inactivity. This is done to avoid resurrecting old issues and bumping long threads with new, possibly unrelated content. If you think you're experiencing something similar to what you've found here: please open a new issue, follow the template, and reference this issue in your report. Thanks! |
Demonstration API definition
Configuration (browser query string, constructor, config.yaml)
Configuration by default in swaggerapi/swagger-ui docker
Expected Behavior
Can see /pets path
Current Behavior
"No operations defined in spec!" is shown
Possible Solution
It is was working in version 3.10.0
Context
I've updated from 3.10.0 to 3.13.0 version and it has stopped working.
File ./doc/paths/pets.yaml exists and it is well formed.
The text was updated successfully, but these errors were encountered: