-
Notifications
You must be signed in to change notification settings - Fork 53
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
Warn user in case an OpenAPI description with inline schema is provided as input #17
Comments
@idoqo do you want to work on this? |
Yeah. I'd like to love to work on this one. |
Cool! LMK in case you have any questions. |
Hi, sorry...I was wondering what would be the best way to check if a schema in the description is inline (or referenced) as it seems to be abstracted out by the |
Hi. Sorry for the late response. Yes, exactly. The function |
Yes, it does a lot. I'd work with that then, thanks a lot. |
Regarding Tim's comment:
As long as this linter rule or transformation does not exist we should display a warning that the output of gnostic-grpc might be faulty in case the user provides an OpenAPI description with inline schemas.
Example input API with inline schema:
Expected console output after running
gnostic --grpc-out...
:Example input API with reference schema:
Expected console output:
No warning regarding inline schema
The text was updated successfully, but these errors were encountered: