You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenAPI spec for the system I am trying to create a provider for has a reference to the response object schema at the top of the schema block. Does the tool support this?
I saw on the DESIGN.md that it does support expanding a $ref tag, but it was inside of a nested schema.
Or perhaps I'm doing something wrong here?
Cheers,
Harry
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
99-lives
changed the title
""no compatible schema found"" error. Can the tool evaluate schema $refs under the top of the path?
"no compatible schema found" error. Can the tool evaluate schema $refs under the top of the path?
Apr 19, 2024
Hi @99-lives 👋 Thank you for raising this and sorry you ran into trouble here. This tool's design should be expanding/following references such as those automatically. Is the OpenAPI specification publicly available or can you share it? Otherwise could you provide the actual parts of the specification (changing names, etc. if necessary) so we can reproduce the issue you are seeing with a fully valid specification? Thanks so much.
tfplugingen-openapi CLI version
v0.3.0
OpenAPI Spec File
Generator Config
Expected Behavior
Evaluate the reference schema and generate the provider code spec.
Actual Behavior
Failed with error:
Additional Information
Hi team,
The OpenAPI spec for the system I am trying to create a provider for has a reference to the response object schema at the top of the schema block. Does the tool support this?
I saw on the DESIGN.md that it does support expanding a $ref tag, but it was inside of a nested schema.
Or perhaps I'm doing something wrong here?
Cheers,
Harry
Code of Conduct
The text was updated successfully, but these errors were encountered: