-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Invalid Swagger specification file. Info section doesn't exists. #1855
Comments
Also seeing weirdness with PSSwagger. v2.2.9. |
I am working on generating a golang client from swagger. As part of that, I have a more complete swagger.json for Netbox v2.3 committed over here: I tried generating a client using powershell on MacOS and it got fairly far in to generating the operations, although did eventually die with an error about AutoRest being missing. You might have more luck with the swagger file on windows? Here is the tail of my generation session, using that file:
|
#1930 has been merged into |
I can confirm that with netbox 2.3.2, the swagger file contains a valid info section. IMO this bug is resolved. |
Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
I have installed PSSwagger and and ran the following function only for it to state
"Invalid Swagger specification file. Info section doesn't exists."
Looking through the PowerShell source code it's this line that throws the error saying that it cannot find the "info" section.
Steps to reproduce
Environment
Any ideas / thoughts?
The text was updated successfully, but these errors were encountered: