Skip to content
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

petstore OpenAPI rest tutorial mentions security.yml, but real filename differs #143

Open
JuliusRapp opened this issue Nov 13, 2019 · 2 comments

Comments

@JuliusRapp
Copy link

JuliusRapp commented Nov 13, 2019

I was able to follow the petstore OpenAPI tutorial up to the reference to the security.yml. I assume that the correct filename reads openapi-security.yml. See also networknt/light-example-4j@301d349#diff-7b66d9f0d4cd178b5bfaab477ff9edb1.

@JuliusRapp
Copy link
Author

In addition, the content of the file differs. The tutorial says

# Enable JWT verification flag.
enableVerifyJwt: false

but the real file reads

# Enable JWT verification flag.
enableVerifyJwt: ${openapi-security.enableVerifyJwt:false}

@JuliusRapp
Copy link
Author

JuliusRapp commented Nov 13, 2019

Next inconsistency: After server restart, the tutorial uses v2/pet for this curl command. For me, it is still v1/pets.

Is it useful if I keep reporting things here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant