Skip to content

Fix /docs endpoint#628

Merged
JenySadadia merged 1 commit into
kernelci:mainfrom
JenySadadia:fix-docs
Sep 11, 2025
Merged

Fix /docs endpoint#628
JenySadadia merged 1 commit into
kernelci:mainfrom
JenySadadia:fix-docs

Conversation

@JenySadadia
Copy link
Copy Markdown
Collaborator

@JenySadadia JenySadadia commented Sep 5, 2025

Fixes #587

Upgrade beanie version to fix the below error:

Exception: Cannot generate a JsonSchema for
core_schema.PlainValidatorFunctionSchema
({'type': 'with-info', 'function': <bound method PydanticObjectId.validate of
<class 'beanie.odm.fields.PydanticObjectId'>>})

Beanie release note states that 1.29.0 version fix above error.
Reference link: https://github.com/BeanieODM/beanie/releases/tag/1.29.0

Upgrade `beanie` version to fix the below error:
```
Exception: Cannot generate a JsonSchema for
core_schema.PlainValidatorFunctionSchema
({'type': 'with-info', 'function': <bound method PydanticObjectId.validate of
<class 'beanie.odm.fields.PydanticObjectId'>>})
```
Beanie release note states that `1.29.0` version fix
above error.
Reference link: https://github.com/BeanieODM/beanie/releases/tag/1.29.0

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
@JenySadadia
Copy link
Copy Markdown
Collaborator Author

Tested OK on staging: https://staging.kernelci.org:9000/docs

@JenySadadia JenySadadia added this pull request to the merge queue Sep 11, 2025
Merged via the queue into kernelci:main with commit 9f1fedb Sep 11, 2025
4 checks passed
@JenySadadia JenySadadia deleted the fix-docs branch September 11, 2025 06:37
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.

/latest/openapi.json endpoint returns error 500

1 participant