-
Notifications
You must be signed in to change notification settings - Fork 69
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
Schema not found, while being present #799
Comments
There was a similar issue a while ago with the PagerDuty OpenAPI doc (#591). I think both here and there, the target of the
I've written up some notes here regarding how we intend to address this and some related deficiencies. |
Thanks a lot, Adam. |
I don't mean to suggest that the document is overly complex or whatever... it's just uniquely complex at least in my experience. It should be possible to discover referenced subschemas and then either inline them or pull them out into some common schema from |
Summary:
When running progenitor via command-line (
cargo progenitor ...
) against a PageDuty REST API document (raw json below) I get an error thataudit_method_type/schema is missing
, however, when searching the json I see"audit_method_type": ...
specified.I am not fully versed in Swagger/OpenAPI specs so I may be missing an issue with the PagerDuty OpenAPI spec itself.
(And, notably, the 52k line spec seems to produce some, but different, failures on everything that ingests it. Sometimes with circular references noted. Working with progenitor is part of how I'm trying to approach the spec. If this looks to ornery to tackle I'll also happily take any suggestions on how to piece out and sub-verify the spec myself. [and bring back any progenitor specific errors afterward])
=============================
Details:
1. nominal OpenAPI version (from json):
3.0.2
2. cargo-progenitor version (from cargo install --list):
v0.6.0
3. raw, commit-connected link:
PagerDuty/api-schema/rest/openapiv3.json
4. command line used:
(note: the input file there reads "pagerduty_rest_api_public.json", but should be identical to the canonical "openapiv3.json")
5. output with backtrace:
6. what appears to be the missing schema, in the openapiv3.json:
The text was updated successfully, but these errors were encountered: