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

OpenApi 2.0 "Committee: no name section in link data" when parameter is using a reference #259

Open
erluti opened this issue Apr 6, 2020 · 3 comments

Comments

@erluti
Copy link

erluti commented Apr 6, 2020

I'm trying to load specs located here. I'm working from a local version and I had to remove a couple unsupported "format" tags. But once I do that, I get an ArgumentError for Committee: no name section in link data. Digging in it's failing in the ParameterSchemaBuilder because it's checking

"parameters": [
  {
    "$ref": "#/parameters/authorization"
  }
]

and not seeing a name key for check_required_fields!.
Looking at the code there's no place before that point that would fill the reference, so I don't know if it should pass the check or if there should be some translation before that point. Or maybe I misunderstood how 2.0 is allowed to use references?

@erluti
Copy link
Author

erluti commented Oct 2, 2020

👀

@erluti
Copy link
Author

erluti commented Nov 16, 2020

I think this might be resolved here #266

@ota42y
Copy link
Member

ota42y commented Nov 21, 2020

OpenAPI 3 and OpenAPI 2 are not same implementations so it have not been resolved... 😢

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