Skip to content

Comments

Additional Swagger docs for access_role_v2 in create new conv schema#2409

Merged
battermann merged 2 commits intodevelopfrom
swagger-docs/access_role_v2-in-newconv
May 19, 2022
Merged

Additional Swagger docs for access_role_v2 in create new conv schema#2409
battermann merged 2 commits intodevelopfrom
swagger-docs/access_role_v2-in-newconv

Conversation

@battermann
Copy link
Contributor

No description provided.

@battermann battermann temporarily deployed to cachix May 18, 2022 11:48 Inactive
@battermann battermann temporarily deployed to cachix May 19, 2022 07:04 Inactive
(,) <$> fst .= optFieldWithDocModifier "access_role" (description ?~ "Deprecated, please use access_role_v2") (maybeWithDefault A.Null schema)
<*> snd .= optFieldWithDocModifier "access_role_v2" (description ?~ desc) (maybeWithDefault A.Null $ set schema)
where
desc = "This field is optional. If it is not present, the default will be `[team_member, non_team_member, service]`. Please note that an empty list is not allowed when creating a new conversation."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
desc = "This field is optional. If it is not present, the default will be `[team_member, non_team_member, service]`. Please note that an empty list is not allowed when creating a new conversation."
desc = "This field is optional. If it is not present, the default will be `[team_member, non_team_member, service]`.\
\ Please note that an empty list is not allowed when creating a new conversation."

please ignore this :)

@battermann battermann merged commit 06469cd into develop May 19, 2022
@battermann battermann deleted the swagger-docs/access_role_v2-in-newconv branch May 19, 2022 11:03
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.

2 participants