Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: describe mutually exclusive create workspace template fields#12834

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 2 commits intomainfromstevenmasley/document_mutually_exclusive
Apr 2, 2024

Conversation

Emyrk
Copy link
Member

@EmyrkEmyrk commentedApr 1, 2024
edited
Loading

Ideally we could do this in the OpenAPI spec, but there is no first class "mutually exclusive" feature in OpenAPI. So in lieu of something more complex, or changing our struct/validation, a description comment should suffice.

I added the description to both the struct and the api call. So any place the fields are encountered in the docs, there should be the description of the mutually exclusive fields.

Closes#12090

Ideally we could do this in the OpenAPI spec, but there is no firstclass "mutually exclusive" feature in OpenAPI. So in lieu of somethingmore complex, or changing our struct/validation, a description commentshould suffice.
@EmyrkEmyrk requested a review fromstirbyApril 1, 2024 17:58
Copy link
Collaborator

@stirbystirby left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@EmyrkEmyrk merged commitb5b5c37 intomainApr 2, 2024
@EmyrkEmyrk deleted the stevenmasley/document_mutually_exclusive branchApril 2, 2024 15:11
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 2, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@stirbystirbystirby approved these changes

Assignees

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Changetemplate_version_id ->template_active_version_id in API docs
2 participants
@Emyrk@stirby

[8]ページ先頭

©2009-2025 Movatter.jp