Skip to content

Add x-data-classification extension page#113

Open
ashishraj09 wants to merge 1 commit into
OAI:mainfrom
darkmatterforge:add-x-data-classification-extension
Open

Add x-data-classification extension page#113
ashishraj09 wants to merge 1 commit into
OAI:mainfrom
darkmatterforge:add-x-data-classification-extension

Conversation

@ashishraj09

Copy link
Copy Markdown

Adds the x-data-classification extension, which annotates a Schema Object property with a data category, sensitivity level, and masking strategy so tooling can redact the value at runtime — for example before writing it to logs.

This follows on from discussion #4330 (OAI/OpenAPI-Specification#4330), which proposed a sensitive-data extension but stalled for lack of a working implementation.

Reference implementations: https://github.com/darkmatterforge/openapi-data-classification (Node.js, Java/Logback, and Python, each with a passing test suite).

@ashishraj09 ashishraj09 requested a review from a team as a code owner July 9, 2026 10:26
@ashishraj09 ashishraj09 changed the title docs: add x-data-classification extension page Add x-data-classification extension page Jul 9, 2026
Annotates a Schema Object property with a data category, sensitivity
level, and masking strategy (full, partial, regex, hash, remove,
tokenize), so tooling can redact sensitive values at runtime, e.g.
before writing logs.

Three reference implementations (Node, Java/Logback, Python) with
passing tests: https://github.com/darkmatterforge/openapi-data-classification

Originated from discussion #4330 (OAI/OpenAPI-Specification), which
proposed a sensitive-data extension but stalled for lack of any
working implementation.
@ashishraj09 ashishraj09 force-pushed the add-x-data-classification-extension branch from db24d95 to 7d091be Compare July 9, 2026 10:50
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.

2 participants