-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[k6] Add authentication variables in headers and cookies (#19060)
* Add global auth parsing including headers and cookies for k6. * Add global auth statements. * Generate samples. * Revert "Generate samples." This reverts commit b8cff86. * Copy petstore-with-fake-endpoints-models-for-testing.yaml to a seperate k6 path as its example yaml file. * Add global security statement in k6 example yaml instead of using the generic one.
- Loading branch information
1 parent
5fdcd48
commit 42b0b20
Showing
5 changed files
with
2,449 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
generatorName: k6 | ||
outputDir: samples/client/petstore/k6 | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/k6/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/k6 | ||
additionalProperties: | ||
appName: PetstoreClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.