-
Notifications
You must be signed in to change notification settings - Fork 197
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
Getting this error : TypeError: Cannot read properties of undefined (reading 'type') because I have an endpoint definition that uses content along with schema #12767
Comments
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned. |
@midhunloopio -Thank you for your inquiry about your Teams app development issue! |
Hello @midhunloopio - We are following the guidelines in the document for the YML file. Could you kindly review it and let us know if everything looks correct on your end? If possible, try simplifying the OpenAPI document by removing any complex or nested structures. This can help isolate the issue and make it easier to identify the root cause. |
Hi @sayali-MSFT , much thanks for looking into my issue.
|
Hi, @midhunloopio , thanks for your feedback: I reviewed your OpenAPI specification file and noticed some issues (see the attached image): You can address these issues and try again |
@midhunloopio , |
Describe the bug
I'm getting this error from the specParser when I am trying to build a declarative agent with plugin support based on my openAPI document :
code:SpecParser.validate-failed, message: TypeError: Cannot read properties of undefined (reading 'type')
I have figured out what the cause could be :
style
andexplode
values and it is picking this openAPI doc upTo Reproduce
Steps to reproduce the behavior:
Expected behavior
OpenAPI document must be picked up without any validation errors.
Validation error should not happen as I've already validated this yaml file with Swagger
VS Code Extension Information (please complete the following information):
The text was updated successfully, but these errors were encountered: