Skip to content

Commit c1df754

Browse files
committed
Regenerate OpenAPI docs for modelcontextprotocol/registry v1.7.2
The upstream `Package.Version` schema gained `maxLength: 255` (and the skill `version` field gained `maxLength: 255` / `minLength: 1`) in `modelcontextprotocol/registry` v1.7.0. Renovate's go.mod bump didn't re-run `task docs`, so `docs/thv-registry-api/{docs.go,swagger.json,swagger.yaml}` were stale and the `Verify Generated Files` job rejected the PR. Run `task docs` to regenerate against v1.7.2 — no behavioral change, only the OpenAPI schema reflects the upstream constraints.
1 parent ea48f51 commit c1df754

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/thv-registry-api/docs.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/thv-registry-api/swagger.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@
743743
"version": {
744744
"description": "Version is the package version (required for npm, pypi, nuget; optional for mcpb; not used by oci where version is in the identifier)",
745745
"example": "1.0.2",
746+
"maxLength": 255,
746747
"minLength": 1,
747748
"type": "string"
748749
}
@@ -1058,6 +1059,8 @@
10581059
},
10591060
"version": {
10601061
"example": "1.0.2",
1062+
"maxLength": 255,
1063+
"minLength": 1,
10611064
"type": "string"
10621065
},
10631066
"websiteUrl": {

docs/thv-registry-api/swagger.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ components:
525525
description: Version is the package version (required for npm, pypi, nuget;
526526
optional for mcpb; not used by oci where version is in the identifier)
527527
example: 1.0.2
528+
maxLength: 255
528529
minLength: 1
529530
type: string
530531
type: object
@@ -773,6 +774,8 @@ components:
773774
type: string
774775
version:
775776
example: 1.0.2
777+
maxLength: 255
778+
minLength: 1
776779
type: string
777780
websiteUrl:
778781
example: https://modelcontextprotocol.io/examples

0 commit comments

Comments
 (0)