Skip to content

test: cover lower-case api key security scheme#359

Open
kriptoburak wants to merge 1 commit into
jentic:mainfrom
kriptoburak:codex/xquik-api-key-security-scheme
Open

test: cover lower-case api key security scheme#359
kriptoburak wants to merge 1 commit into
jentic:mainfrom
kriptoburak:codex/xquik-api-key-security-scheme

Conversation

@kriptoburak

Copy link
Copy Markdown

Summary

Adds OpenAPI 3.1 security scheme coverage for a lower-case x-api-key header name. This complements the existing X-API-Key header case and keeps apiKey header names preserved exactly in the low-level model.

Verification

  • uv run ruff format packages/jentic-openapi-datamodels/tests/low/v31/test_security_scheme.py
  • uv run ruff format --check packages/jentic-openapi-datamodels/tests/low/v31/test_security_scheme.py
  • uv run ruff check packages/jentic-openapi-datamodels/tests/low/v31/test_security_scheme.py
  • uv run --dev pytest packages/jentic-openapi-datamodels/tests/low/v31/test_security_scheme.py

Signed-off-by: kriptoburak <kriptoburak@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant