We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My swagger:meta is working until I include SecurityDefinitions, then I get the error:
swagger:meta
SecurityDefinitions
yaml: line 2: found character that cannot start any token
Fragment which is causing the problem:
// Package authority ViPro Core Services Authority API. // // ... // // SecurityDefinitions: // oauth2: // type: oauth2 // name: Authorization // authorizationUrl: https://vipro.online/instances/instance/auth/authorization // tokenUrl: https://vipro.online/instances/instance/auth/token // in: header // flow: application // scopes: // authority: Access the claims relating to this authority service // // swagger:meta package authority
swagger generate spec -m -o swagger.yml
swagger version: version: v0.30.5 • commit: ab6a7885723430004f1d7db6395369b6e7f3370b go version: 1.21 OS: macOS 13.5
version: v0.30.5 • commit: ab6a7885723430004f1d7db6395369b6e7f3370b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem statement
My
swagger:meta
is working until I includeSecurityDefinitions
, then I get the error:Swagger specification
Fragment which is causing the problem:
Steps to reproduce
swagger generate spec -m -o swagger.yml
Environment
swagger version:
version: v0.30.5 • commit: ab6a7885723430004f1d7db6395369b6e7f3370b
go version: 1.21
OS: macOS 13.5
The text was updated successfully, but these errors were encountered: