-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #24043: API documentation for compliance by group #5332
Fixes #24043: API documentation for compliance by group #5332
Conversation
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
PR updated with a new commit |
@@ -0,0 +1,200 @@ | |||
type: object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈 Added it for all added yaml files : f3b36f7
properties: | ||
value: | ||
type: string | ||
example: tutu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we try to avoid "non-realistic" examples ("toto", "tutu", "plop", "username", etc.), and prefer something like docker
or john.doe
/jane.doe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I just copied it from the directives compliance documentation)
1fda62d
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
f3b36f7
to
ed66905
Compare
https://issues.rudder.io/issues/24043
Add public API documentation for these endpoints :
/api/compliance/groups/{groupId}
(global compliance)/api/compliance/groups/{groupId}/target
(targeted compliance)Also, there was a limitation in redocly to generate examples for nested objects, so we set the config parameter
generatedPayloadSamplesMaxDepth
to100
. We also update redocly to1.6.0