Resolve connection callback schema TODO#1640
Closed
samuelscheit wants to merge 3 commits intospacebarchat:masterfrom
Closed
Resolve connection callback schema TODO#1640samuelscheit wants to merge 3 commits intospacebarchat:masterfrom
samuelscheit wants to merge 3 commits intospacebarchat:masterfrom
Conversation
Member
Author
|
Code review completed: I reviewed the final diff, generated schema/OpenAPI assets, and test coverage. No blocking issues found; the PR is approved from this review pass. |
Member
Author
|
PR handling report (pass 1): Changed files:
Tests/checks run:
Code-review outcome:
Decision:
|
Member
Author
|
Second-pass code review completed after the CI formatting fix. The added |
Member
Author
|
Final PR handling report: Changed files:
Tests/checks run:
Code-review outcome:
Decision:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
openid_paramspayload as a string-valued OpenID parameter maptwo_way_link_code, top-level extra-property rejection, and string-only OpenID paramsadditionalPropertiesin generated OpenAPI components so dictionary schemas remain typedRoot cause
ConnectionCallbackSchema.openid_paramswasunknown, so JSON schema validation and generated docs did not describe or enforce the OpenID callback parameter map. The OpenAPI generator also deleted every top-leveladditionalProperties, which erased map value types after schema generation.Validation
npm run buildnode -r dotenv/config -r module-alias/register --enable-source-maps --test dist/schemas/uncategorised/ConnectionCallbackSchema.test.jsnpm run node:testsnpm run lint(passes with existing deprecation warnings insrc/util/util/Token.ts)Refs #1604