Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
contents: read
id-token: write
runs-on: ubuntu-latest
environment: npmjs:@sap/openapi-specification
environment: npmjs:@sap/openapi-extensions
steps:
- uses: actions/checkout@v7

Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [[0.16.0](https://github.com/SAP/openapi-specification/releases/tag/v0.16.0)] - 2026-09-30
### Changed

- Project renamed to "OpenAPI Extensions for SAP Ecosystem" and so the GitHub repository and NPM package accordingly.

## [[0.16.0](https://github.com/SAP/openapi-extensions/releases/tag/v0.16.0)] - 2026-09-30

### Added

Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/openapi-specification)](https://api.reuse.software/info/github.com/SAP/openapi-specification)
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/openapi-extensions)](https://api.reuse.software/info/github.com/SAP/openapi-extensions)

# OpenAPI Specification for SAP Ecosystem
# OpenAPI Extensions for SAP Ecosystem

This repository contains extensions to the original [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification) which are relevant for SAP Ecosystem and corresponding tooling. Additionally, it provides a compiled "ready to use" version of schema files which includes the original schemas with SAP-specific changes on top.

The following versions of OpenAPI Specification are supported:
The following extended versions of OpenAPI Specification are currently supported:

- [OpenAPI Specification v2.0 for SAP Ecosystem](./sap-schemas/v2.0) (based on [OpenAPI v2.0](https://spec.openapis.org/oas/v2.0), also known as Swagger 2.0)
- [OpenAPI Specification v3.0 for SAP Ecosystem](./sap-schemas/v3.0) (based on [OpenAPI v3.0.3](https://spec.openapis.org/oas/v3.0.3))
- [OpenAPI v2.0](./sap-schemas/v2.0) (also known as Swagger 2.0)
- [OpenAPI v3.0](./sap-schemas/v3.0)

Every OpenAPI Specification for SAP Ecosystem document is also a valid OpenAPI document of a corresponding version.

The goal of these specification is to describe SAP's extensions to OpenAPI Specifications in a standardized way. The specification are used by [SAP API Business Hub](https://api.sap.com) and other tooling in SAP Ecosystem.
The goal of these SAP-specific schemas is to describe SAP's extensions to OpenAPI Specifications in a standardized way. The schemas are used by [SAP Business Accelerator Hub](https://api.sap.com) and other tooling in SAP Ecosystem.

## Requirements

Expand Down Expand Up @@ -57,7 +55,7 @@ OpenAPI is based on the JSON type system and uses the `format` keyword for diffe
[hana]: https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/20a1569875191014b507cf392724b7eb.html
[odata]: https://docs.oasis-open.org/odata/odata-csdl-json/v4.01/odata-csdl-json-v4.01.html#sec_PrimitiveTypes
[formats]: https://spec.openapis.org/registry/format/index.html
[ps]: https://github.com/SAP/openapi-specification/tree/main/sap-schemas/v3.0#x-sap-precision
[ps]: https://github.com/SAP/openapi-extensions/tree/main/sap-schemas/v3.0#x-sap-precision

## How to obtain support

Expand All @@ -73,4 +71,4 @@ We as members, contributors, and leaders pledge to make participation in our com

## Licensing

Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/openapi-specification).
Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/openapi-extensions).
6 changes: 3 additions & 3 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version = 1
SPDX-PackageName = "openapi-specification"
SPDX-PackageName = "openapi-extensions"
SPDX-PackageSupplier = "pavel.kornev@sap.com"
SPDX-PackageDownloadLocation = "<https://github.com/sap/openapi-specification>"
SPDX-PackageDownloadLocation = "<https://github.com/sap/openapi-extensions>"
SPDX-PackageComment = "The code in this project may include calls to APIs (\"API Calls\") of\n SAP or third-party products or services developed outside of this project\n (\"External Products\").\n \"APIs\" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."

[[annotations]]
path = "**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and @sap/openapi-specification contributors"
SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and @sap/openapi-extensions contributors"
SPDX-License-Identifier = "Apache-2.0"

[[annotations]]
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sap/openapi-specification",
"version": "0.16.0",
"description": "SAP OpenAPI Specification for OpenAPI v2.0 (Swagger 2.0) and OpenAPI 3.0",
"name": "@sap/openapi-extensions",
"version": "0.17.0",
"description": "OpenAPI Extensions for SAP Ecosystem",
"author": "SAP SE",
"license": "Apache-2.0",
"main": "./dist/src/index.js",
Expand All @@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/SAP/openapi-specification.git"
"url": "git+https://github.com/SAP/openapi-extensions.git"
},
"devDependencies": {
"@types/lodash": "4.17.25",
Expand Down
10 changes: 5 additions & 5 deletions sap-extensions/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"properties": {
"x-sap-dpp-entity-semantics": {
"type": "string",
"description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous to x-sap-dpp-is-potentially-personal.",
"description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous with x-sap-dpp-is-potentially-personal.",
"enum": [
"sap:DataSubject",
"sap:DataSubjectDetails",
Expand Down Expand Up @@ -50,7 +50,7 @@
"x-sap-dpp-is-potentially-sensitive": {
"type": "boolean",
"default": true,
"description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts."
"description": "Property contains potentially sensitive personal data. Sensitive personal data is a category of personal data that needs special handling. The determination of which personal data is sensitive may differ for different legal areas or industries. Examples of sensitive personal data: 1. Special categories of personal data, such as data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data, data concerning health or sex life or sexual orientation. 2. Personal data subject to professional secrecy. 3. Personal data relating to criminal or administrative offenses. 4. Personal data concerning insurances and bank or credit card accounts."
}
}
},
Expand Down Expand Up @@ -233,7 +233,7 @@
"2022-01-01",
"2021-11-14"
],
"description": "Decommission date of an API (sunset data, when it will not be available anymore)."
"description": "Decommission date of an API (sunset date, when it will not be available anymore)."
},
{
"type": "string",
Expand All @@ -242,14 +242,14 @@
"01 Jan 2022",
"14 Nov 2021"
],
"description": "Decommission date of an API (sunset data, when it will not be available anymore)."
"description": "Decommission date of an API (sunset date, when it will not be available anymore)."
}
]
},
"successorApi": {
"type": "string",
"format": "uri-reference",
"description": "Provides an URL to a successor API."
"description": "Provides a URL to a successor API."
}
},
"additionalProperties": false
Expand Down
2 changes: 1 addition & 1 deletion sap-extensions/v2.0-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"successorOperationRef": {
"type": "string",
"format": "uri-reference",
"description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition."
"description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v2.0#operation-object) in the OpenAPI definition."
},
"successorOperationId": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion sap-extensions/v3.0-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"successorOperationRef": {
"type": "string",
"format": "uri-reference",
"description": "A relative or absolute URI reference to an successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition."
"description": "A relative or absolute URI reference to a successor API operation. This field is mutually exclusive of the `successorOperationId` field, and MUST point to an [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object). Relative `successorOperationRef` values MAY be used to locate an existing [Operation Object](https://spec.openapis.org/oas/v3.0.3#operation-object) in the OpenAPI definition."
},
"successorOperationId": {
"type": "string",
Expand Down
Loading
Loading