| Rule id: |
From eaf27b99334c89661950aca6a1129588a0254ea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 14:25:54 +0200
Subject: [PATCH 04/20] chore: modify workflow file for testing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/jekyll-gh-pages.yml | 51 ---------------------------
1 file changed, 51 deletions(-)
delete mode 100644 .github/workflows/jekyll-gh-pages.yml
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
deleted file mode 100644
index 67be9b00..00000000
--- a/.github/workflows/jekyll-gh-pages.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# Sample workflow for building and deploying a Jekyll site to GitHub Pages
-name: Deploy Jekyll with GitHub Pages dependencies preinstalled
-
-on:
- # Runs on pushes targeting the default branch
- push:
- branches: ["main"]
-
- # Allows you to run this workflow manually from the Actions tab
- workflow_dispatch:
-
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
-permissions:
- contents: read
- pages: write
- id-token: write
-
-# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
-# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
-concurrency:
- group: "pages"
- cancel-in-progress: false
-
-jobs:
- # Build job
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- - name: Setup Pages
- uses: actions/configure-pages@v5
- - name: Build with Jekyll
- uses: actions/jekyll-build-pages@v1
- with:
- source: ./
- destination: ./_site
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v3
-
- # Deployment job
- deploy:
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- runs-on: ubuntu-latest
- needs: build
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v5
From 7fdbbd97a48408cd126933c4954a54e486a01a5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 14:27:56 +0200
Subject: [PATCH 05/20] chore: modify workflow file for testing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/github-pages.yml | 53 ++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 .github/workflows/github-pages.yml
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
new file mode 100644
index 00000000..9c7e1b24
--- /dev/null
+++ b/.github/workflows/github-pages.yml
@@ -0,0 +1,53 @@
+# Sample workflow for building and deploying a Jekyll site to GitHub Pages
+name: Deploy Jekyll with GitHub Pages dependencies preinstalled
+
+on:
+ # Runs on pushes targeting the default branch
+ push:
+ branches: ["main"]
+ pull-request:
+ branches: ["github-pages"]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
+# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
+concurrency:
+ group: "pages"
+ cancel-in-progress: false
+
+jobs:
+ # Build job
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Setup Pages
+ uses: actions/configure-pages@v5
+ - name: Build with Jekyll
+ uses: actions/jekyll-build-pages@v1
+ with:
+ source: ./
+ destination: ./_site
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v3
+
+ # Deployment job
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v5
From 0cdc8ed7c94ebae7c4ae70fa39a6d37ee84d64ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 14:29:57 +0200
Subject: [PATCH 06/20] chore: modify workflow file for testing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/github-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 9c7e1b24..7f118bd9 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -6,7 +6,7 @@ on:
push:
branches: ["main"]
pull-request:
- branches: ["github-pages"]
+ branches: ["lt/github-pages"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
From 528f2b6705f9a32c7d0726266ab1c53adbb05c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 14:31:37 +0200
Subject: [PATCH 07/20] chore: modify workflow file for testing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/github-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 7f118bd9..a6e19ab5 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -5,7 +5,7 @@ on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
- pull-request:
+ pull_request:
branches: ["lt/github-pages"]
# Allows you to run this workflow manually from the Actions tab
From b4593bfb69296b6b4b2fb9d53a03c138eaafa7ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 14:59:51 +0200
Subject: [PATCH 08/20] chore: modify workflow file for testing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/github-pages.yml | 2 --
1 file changed, 2 deletions(-)
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index a6e19ab5..7ba6950a 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -4,8 +4,6 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
- branches: ["main"]
- pull_request:
branches: ["lt/github-pages"]
# Allows you to run this workflow manually from the Actions tab
From cf58dfd0238472a14f0f19ad46691b973a36fa8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 16:06:58 +0200
Subject: [PATCH 09/20] chore: fix rendering issues in md files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
README.md | 2 +-
docs/ibm-cloud-rules.md | 7 +++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index e5ac7787..cce0f9b0 100644
--- a/README.md
+++ b/README.md
@@ -986,7 +986,7 @@ Here is an example of JSON output:
"entries": []
}
},
- "hasResults": true
+ "hasResults": true,
"impactScore": {
"categorizedSummary": {
"usability": 94,
diff --git a/docs/ibm-cloud-rules.md b/docs/ibm-cloud-rules.md
index 4c2c0c61..66dbd075 100644
--- a/docs/ibm-cloud-rules.md
+++ b/docs/ibm-cloud-rules.md
@@ -404,7 +404,7 @@ should probably be required instead of optional.
| ibm-no-superfluous-allof |
warn |
-Warns about schemas that contain only a single-element allOf, which are unnecessary./td>
+ | Warns about schemas that contain only a single-element allOf, which are unnecessary. |
oas3 |
@@ -517,7 +517,6 @@ or application/merge-patch+json.
oas3 |
-
| ibm-property-casing-convention |
error |
Schema property names should follow a specific case convention. |
@@ -542,7 +541,6 @@ or application/merge-patch+json.
oas3 |
-
| ibm-ref-pattern |
warn |
Ensures that $ref values follow the correct patterns. |
@@ -587,6 +585,7 @@ has non-form content. This rule is disabled by default.
Operations that create or update a resource should return the same schema as the "GET" request for the resource. |
oas3 |
+
| ibm-response-status-codes |
warn |
Performs multiple checks on the status codes used in operation responses. |
@@ -594,7 +593,7 @@ has non-form content. This rule is disabled by default.
| ibm-schema-casing-convention |
-warm |
+warn |
Schema names should follow a specific case convention. |
oas3 |
From 8cfd8bc3c9ca4c59040d049c137c587a7720f204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Thu, 16 Jul 2026 16:38:03 +0200
Subject: [PATCH 10/20] chore: fix rendering issues in md files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
docs/ibm-cloud-rules.md | 174 ++++++++++++++++++++--------------------
1 file changed, 87 insertions(+), 87 deletions(-)
diff --git a/docs/ibm-cloud-rules.md b/docs/ibm-cloud-rules.md
index 66dbd075..50ee26b7 100644
--- a/docs/ibm-cloud-rules.md
+++ b/docs/ibm-cloud-rules.md
@@ -919,7 +919,7 @@ The
oas3 |
-| Non-compliant example: |
+Non-compliant example: |
requestBody:
@@ -981,7 +981,7 @@ since an un-anchored regular expression might match on only part of the string i
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1038,7 +1038,7 @@ Note: the rule will report additional details about each violation of the graph
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1141,7 +1141,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1201,7 +1201,7 @@ and nested schemas (e.g. a schema property, an array items schema,
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1327,7 +1327,7 @@ would cause an error, but the type value ['string', 'null'] would n
oas3_1 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1390,7 +1390,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1450,7 +1450,7 @@ and returns a warning to alert the user that the path parameter should be define
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -1523,7 +1523,7 @@ Specifically, the rule will check to make sure a binary schema is NOT used in th
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -1599,7 +1599,7 @@ companion path string that does end with a path parameter reference (e.g. "/v1/t
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -1666,7 +1666,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
responses:
@@ -1718,7 +1718,7 @@ unless the API actually supports all content types.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
requestBody:
@@ -1772,7 +1772,7 @@ The property could be defined in any of the following ways:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1839,7 +1839,7 @@ This includes the following validations:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -1905,7 +1905,7 @@ define any required properties or specify a non-zero value for the minProp
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2008,7 +2008,7 @@ For example, to enforce camel case for enum values, the configuration object wou
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -2061,7 +2061,7 @@ This rule should be ignored when the API actually returns an error response that
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
responses:
@@ -2120,7 +2120,7 @@ as described in the API Handbook.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2268,7 +2268,7 @@ within the GET operation's response.
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2372,7 +2372,7 @@ is specified as int32 or int64.
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -2431,7 +2431,7 @@ The API major version can appear in either the server URL or in each path entry.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
openapi: 3.0.1
@@ -2615,7 +2615,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
requestBody:
@@ -2670,7 +2670,7 @@ in the future if needed.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2748,7 +2748,7 @@ together with other documentation provided for the service.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2825,7 +2825,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -2893,7 +2893,7 @@ Any reference to either "Foo" or "Bar" will be a circular reference.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -2957,7 +2957,7 @@ For example, the path /v1/foos/{foo_id}/{bar_id} is invalid and sho
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3011,7 +3011,7 @@ Note that the Content-Type header parameter is managed automaticall
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3114,7 +3114,7 @@ are true for a particular parameter, then a warning is raised for that parameter
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -3176,7 +3176,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -3320,7 +3320,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -3555,7 +3555,7 @@ This rule ensures that nullable properties are not defined elsewhere.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -3708,7 +3708,7 @@ For example, to enforce the rule for DELETE, HEAD and OPTIONS operations, the co
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3789,7 +3789,7 @@ This rule is deprecated. Please use the ibm-no-required-properties-in-opt
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3845,7 +3845,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3910,7 +3910,7 @@ request body to be required.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -3966,7 +3966,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -4036,7 +4036,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -4088,7 +4088,7 @@ by IBM's SDK-related tooling - specifically the jsonSchemaDialect a
oas3_1 |
|
-| Non-compliant example: |
+Non-compliant example: |
openapi: 3.1.0
@@ -4156,7 +4156,7 @@ info:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
tags:
@@ -4219,7 +4219,7 @@ paths:
| oas3_1 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -4276,7 +4276,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -4325,7 +4325,7 @@ per guidance in the oas3 |
-| Non-compliant example: |
+Non-compliant example: |
n/a
|
@@ -4683,7 +4683,7 @@ on query and path parameter names, the configuration object would look like this
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -4745,7 +4745,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -4808,7 +4808,7 @@ listed first, then any optional parameters.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -4888,7 +4888,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
parameters:
@@ -4938,7 +4938,7 @@ recommends that PATCH operations contain request bodies that support only conten
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5020,7 +5020,7 @@ For example, to enforce camel case for path segments, the configuration object w
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5066,7 +5066,7 @@ within a schema:
| oas3_1 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5132,7 +5132,7 @@ For more details, please see the API Handbook section on
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5206,7 +5206,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5332,7 +5332,7 @@ paths:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5411,7 +5411,7 @@ For example, to enforce camel case for property names, the configuration object
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5469,7 +5469,7 @@ throughout the API definition.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5533,7 +5533,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5631,7 +5631,7 @@ paths:
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5695,7 +5695,7 @@ proper locations within the API definition's componentsfield.
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -5756,7 +5756,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
responses:
@@ -5801,7 +5801,7 @@ responses:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
requestBody:
@@ -5861,7 +5861,7 @@ that the x-codegen-request-body-name extension is set on the operat
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -5923,7 +5923,7 @@ and not optional.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -6004,7 +6004,7 @@ and not optional.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -6095,7 +6095,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -6233,7 +6233,7 @@ it is a synchronous or asynchronous operation.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -6331,7 +6331,7 @@ For example, to disallow capitalized acronymns for schema names, the configurati
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6379,7 +6379,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6527,7 +6527,7 @@ configuration field, like this:
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6586,7 +6586,7 @@ The rule checks the names of collection schemas, resource collection element sch
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -6658,7 +6658,7 @@ Schemas and schema properties should have a non-empty type field.
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6733,7 +6733,7 @@ The following table defines the valid combinations:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6801,7 +6801,7 @@ extension, using t
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
n/a
|
@@ -6873,7 +6873,7 @@ Valid values for the in property are:
oas3 |
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -6961,7 +6961,7 @@ scopes, then its scopes array MUST be empty.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -7020,7 +7020,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
servers:
@@ -7088,7 +7088,7 @@ only for string schemas.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -7148,7 +7148,7 @@ within each response content field entry, in order to aid in the ge
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
responses:
@@ -7209,7 +7209,7 @@ not have a trailing period. |
oas3 |
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -7259,7 +7259,7 @@ is set on a schema, then it is set to the value false (i.e. disable
oas3_1 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -7338,7 +7338,7 @@ the parameter or request body schema property to avoid the collision.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -7441,7 +7441,7 @@ the example value provided for a schema or property.
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
Resource
@@ -7501,7 +7501,7 @@ For example, the path /v1/foos/_{foo_id}_ is invalid and should pro
oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
paths:
@@ -7553,7 +7553,7 @@ is a valid instance of that schema. Note that this rule is an alternative to `oa
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
@@ -7605,7 +7605,7 @@ components:
| oas3 |
|
-| Non-compliant example: |
+Non-compliant example: |
components:
From 670833e3da0ece0955109dfa9bd1087db1fe3a2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=ADdia=20Tarcza?=
<100163235+diatrcz@users.noreply.github.com>
Date: Mon, 20 Jul 2026 16:59:35 +0200
Subject: [PATCH 11/20] docs: fix html formatting in markdown files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
---
.github/workflows/github-pages.yml | 2 +-
docs/ibm-cloud-rules.md | 62 ++++++++++++++++++++++++++++--
2 files changed, 59 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 7ba6950a..ef8896c1 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
-name: Deploy Jekyll with GitHub Pages dependencies preinstalled
+name: deploy github pages
on:
# Runs on pushes targeting the default branch
diff --git a/docs/ibm-cloud-rules.md b/docs/ibm-cloud-rules.md
index 50ee26b7..6fae78da 100644
--- a/docs/ibm-cloud-rules.md
+++ b/docs/ibm-cloud-rules.md
@@ -1188,8 +1188,10 @@ the SDK generator typically needs to refactor these inline schemas in order to c
computed by the SDK generator are unlikely to be optimal from a readability standpoint.
Specifically, this rule warns about the use of inline object schemas within request bodies, responses,
and nested schemas (e.g. a schema property, an array items schema, an additionalProperties schema, etc.).
+
More information about this can be found in the
API Handbook.
+
|
@@ -1316,6 +1318,7 @@ ambiguity in an API definition. Therefore, multiple types should be avoided.
One exception to this is that the special type "null" is simply ignored by the rule when counting
the number of elements in the schema's type field. So, the type value ['string', 'integer']
would cause an error, but the type value ['string', 'null'] would not.
+
@@ -1439,6 +1442,7 @@ components:
defining it separately within each of the operations that exist for that path.
This rule checks for situations in which a path parameter is defined identically within multiple operations under a given path,
and returns a warning to alert the user that the path parameter should be defined on the path object instead.
+
@@ -1581,12 +1585,14 @@ with an array property named "things" (which is presumably defined as an array o
"list"-type operation (with or without support for pagination) to make sure that the operation's
response schema defines an array property whose name matches the last path segment
within the operation's path string, which should also match the plural form of the resource type.
+
For the purposes of this rule, an operation is considered to be a "list"-type operation
if it is a "get" request and one of the following are also true:
- the operation's operationId starts with "list" (e.g. "list_things")
- the operation's path string does not end with a path parameter reference, but there is a
companion path string that does end with a path parameter reference (e.g. "/v1/things" vs "/v1/things/{thing_id}").
+
@@ -1707,6 +1713,7 @@ responses:
The use of */* as a mimetype within a content field should be avoided
unless the API actually supports all content types.
If the API in fact supports all content types, this warning should be ignored.
+
|
@@ -1894,6 +1901,7 @@ components:
with application/merge-patch+json requestBody content should not
define any required properties or specify a non-zero value for the minProperties field.
This rule verifies that "merge-patch" operations adhere to this requirement.
+
@@ -1990,6 +1998,7 @@ that is the appropriate configuration to be used by Spectral's casing()1]
to enforce the desired case convention for enum values.
The default configuration object provided in the rule definition is:
+
{
type: 'snake'
@@ -2000,6 +2009,7 @@ to enforce the desired case convention for enum values.
custom ruleset and modify the configuration such that the value of the type field
specifies the desired case convention.
For example, to enforce camel case for enum values, the configuration object would look like this:
+
{
type: 'camel'
@@ -2108,6 +2118,7 @@ as described in the API Handbook.
If present, the target property must contain a valid
error target model
as described in the API Handbook.
+
@@ -2257,6 +2268,7 @@ to provide a value for the If-Match or If-None-Match h
(sometimes referred to as an "etag value"), then the API should provide a way for the user to obtain the etag value.
And the standard way for a service to provide an etag value to the user is by returning it as the ETag response header
within the GET operation's response.
+
@@ -2660,6 +2672,7 @@ requestBody:
The recommendation is to instead use an object with a property that contains the array.
This will allow you to expand the definition of the response body (e.g. add new properties) in a compatible way
in the future if needed.
+
| Severity: |
@@ -2712,7 +2725,6 @@ paths:
sample response body:
{"things": [ {"name": "thing-1"}, {"name": "thing-2"} ]}
-
@@ -2734,9 +2746,11 @@ The