flyrain commented on code in PR #2197: URL: https://github.com/apache/polaris/pull/2197#discussion_r2305349321
########## spec/polaris-management-service.yml: ########## @@ -261,6 +261,41 @@ paths: 404: description: "The principal does not exist" + /principals/{principalName}/reset: + parameters: + - name: principalName + in: path + description: The principal's name + required: true + schema: + type: string + minLength: 1 + maxLength: 256 + pattern: '^(?!\s*[s|S][y|Y][s|S][t|T][e|E][m|M]\$).*$' Review Comment: Can we create a component for principal name schema? So that we don't copy it in multiple places? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org