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
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Actual behaviour/output/error
webApi.servers() is empty.
Expected behaviour/output
webApi.servers() should contain a list of servers as specified in the file.
Additional context
It does not happen when you don't resolve. Getting the webApi object from webApiDocument.encodes() works as expected. webApi.servers() gives the expected output.
Any OAS3 yaml file, with servers defined can be used to test this.
Will appreciate the help!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Library version used
0.5.0
Language library used with
Java
Describe the bug
After resolving an OAS3 YAML file using OAS30.resolve(), the "servers" seem to get lost. However it does not happen with OAS2/RAML
Code that causes a bug
Actual behaviour/output/error
webApi.servers() is empty.
Expected behaviour/output
webApi.servers() should contain a list of servers as specified in the file.
Additional context
It does not happen when you don't resolve. Getting the webApi object from webApiDocument.encodes() works as expected. webApi.servers() gives the expected output.
Any OAS3 yaml file, with servers defined can be used to test this.
Will appreciate the help!
The text was updated successfully, but these errors were encountered: