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
In idoc.php config file, I have this security settings:
idoc.php
'security' => [ 'apiToken' => [ 'type' => 'apiKey', 'name' => 'apiToken', 'in' => 'header', 'description' => 'Use `apiToken` in the requests.' ], ],
When I create the docs with php artisan idoc:generate the examples are created with Bearer JWT Token:
php artisan idoc:generate
curl -X GET -G "http://localhost/api/myapiurl" \ -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJod"
Edit
I tried to use the specification from here: https://spec.openapis.org/oas/v3.1.0#api-key-sample
The text was updated successfully, but these errors were encountered:
Thank you very much @kristianstarkloffjedox
Can you draft a pull-request with the fix for review? Upon merge and release, you'll be added to the contributors list.
Sorry, something went wrong.
No branches or pull requests
In
idoc.php
config file, I have this security settings:When I create the docs with
php artisan idoc:generate
the examples are created with Bearer JWT Token:Edit
I tried to use the specification from here: https://spec.openapis.org/oas/v3.1.0#api-key-sample
The text was updated successfully, but these errors were encountered: