diff --git a/package-lock.json b/package-lock.json index 651dff3..ef6c287 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,13 @@ { "name": "@sap/openapi-specification", - "version": "0.14.1", + "version": "0.15.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@sap/openapi-specification", - "version": "0.14.1", + "version": "0.15.0", + "license": "Apache-2.0", "devDependencies": { "@types/lodash": "4.14.189", "@types/node": "18.11.9", diff --git a/package.json b/package.json index 817998a..98d3d98 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,9 @@ { "name": "@sap/openapi-specification", - "version": "0.14.1", + "version": "0.15.0", "description": "SAP OpenAPI Specification for OpenAPI v2.0 (Swagger 2.0) and OpenAPI 3.0", + "author": "SAP SE", + "license": "Apache-2.0", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "files": [ diff --git a/sap-schemas/v2.0/README.md b/sap-schemas/v2.0/README.md index 74422c4..9c66729 100644 --- a/sap-schemas/v2.0/README.md +++ b/sap-schemas/v2.0/README.md @@ -24,7 +24,7 @@ Fully compiled and ready to use JSON Schema file is available [here](./schema.js - `sap:core:v1` - `sap:core:v2` - Used at: [Swagger Object](https://spec.openapis.org/oas/v2.0#swagger-object) (root level) -- Description: The compliance level that this API resource is expected to be compliant with. This corresponds to the [ORD policy level](https://pages.github.tools.sap/CentralEngineering/open-resource-discovery-specification/#/v1/generated/Document?id=package_policylevel) concept. +- Description: The compliance level that this API resource is expected to be compliant with. This corresponds to the [ORD policy level](https://open-resource-discovery.github.io/specification/spec-extensions/policy-levels) concept. Constraints: @@ -192,7 +192,7 @@ Constraints: - OPTIONAL - MUST follow the ORD `extensible` object contract - - See [ORD Extensible Object Interface](https://pages.github.tools.sap/CentralEngineering/open-resource-discovery-specification/#/v1/generated/Document?id=extensible) + - See [ORD Extensible Object Interface](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#extensible) Example: @@ -230,14 +230,14 @@ Example: ### `x-sap-ord-id` - Type: `String` -- Format: Valid [ORD ID for API Resources](https://sap.github.io/open-resource-discovery/spec-v1/interfaces/document#api-resource_ordid) +- Format: Valid [ORD ID for API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Used at: [Swagger Object](https://spec.openapis.org/oas/v2.0#swagger-object) (root level) - Description: The ORD ID can be used to lookup more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. Constraints: - OPTIONAL -- MUST be a valid [ORD ID](https://sap.github.io/open-resource-discovery/spec-v1/#ord-id) for [API Resources](https://sap.github.io/open-resource-discovery/spec-v1/interfaces/document#api-resource_ordid) +- MUST be a valid [ORD ID](https://open-resource-discovery.github.io/specification/spec-v1/#ord-id) for [API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Regexp: `^([a-z0-9]+(?:[.][a-z0-9]+)*):(apiResource):([a-zA-Z0-9._\-]+):(v0|v[1-9][0-9]*)$` Example: diff --git a/sap-schemas/v3.0/README.md b/sap-schemas/v3.0/README.md index c335318..bf89fc8 100644 --- a/sap-schemas/v3.0/README.md +++ b/sap-schemas/v3.0/README.md @@ -24,7 +24,7 @@ Fully compiled and ready to use JSON Schema file is available [here](./schema.js - `sap:core:v1` - `sap:core:v2` - Used at: [OpenAPI Object](https://spec.openapis.org/oas/v3.0.3#openapi-object) (root level) -- Description: The compliance level that this API resource is expected to be compliant with. This corresponds to the [ORD policy level](https://pages.github.tools.sap/CentralEngineering/open-resource-discovery-specification/#/v1/generated/Document?id=package_policylevel) concept. +- Description: The compliance level that this API resource is expected to be compliant with. This corresponds to the [ORD policy level](https://open-resource-discovery.github.io/specification/spec-extensions/policy-levels) concept. Constraints: @@ -144,7 +144,7 @@ Constraints: - OPTIONAL - MUST follow the ORD `extensible` object contract - - See [ORD Extensible Object Interface](https://pages.github.tools.sap/CentralEngineering/open-resource-discovery-specification/#/v1/generated/Document?id=extensible) + - See [ORD Extensible Object Interface](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#extensible) Example: @@ -182,14 +182,14 @@ Example: ### `x-sap-ord-id` - Type: `String` -- Format: Valid [ORD ID for API Resources](https://sap.github.io/open-resource-discovery/spec-v1/interfaces/document#api-resource_ordid) +- Format: Valid [ORD ID for API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Used at: [OpenAPI Object](https://spec.openapis.org/oas/v3.0.3#openapi-object) (root level) - Description: The ORD ID can be used to lookup more high-level metadata via Business Accelerator Hub or Unified Customer Landscape. It is also used when describing Integration Dependencies. Constraints: - OPTIONAL -- MUST be a valid [ORD ID](https://sap.github.io/open-resource-discovery/spec-v1/#ord-id) for [API Resources](https://sap.github.io/open-resource-discovery/spec-v1/interfaces/document#api-resource_ordid) +- MUST be a valid [ORD ID](https://open-resource-discovery.github.io/specification/spec-v1/#ord-id) for [API Resources](https://open-resource-discovery.github.io/specification/spec-v1/interfaces/document#api-resource_ordid) - Regexp: `^([a-z0-9]+(?:[.][a-z0-9]+)*):(apiResource):([a-zA-Z0-9._\-]+):(v0|v[1-9][0-9]*)$` Example: