Skip to content
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

Use common snippet name prefix as operationId, fix #140 #141

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

ozscheyge
Copy link
Contributor

@ozscheyge ozscheyge commented Aug 25, 2020

See #140 for problem description.

Solution

Example 1

Snippet IDs have a common prefix:

get-product
get-product_xml
get-product_with_extra_attributes

The resulting operationId would be the common prefix get-product

Example 2

Snippet IDs do not have a common prefix:

first
second
last

The resulting operationId would be the snippet IDs sorted lexicographically and then concatenated resulting in firstlastsecond

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 92.63% when pulling dd56608 on new/use_common_prefix_as_operationId into 022cfe4 on master.

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.

3 participants