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

[o2k] fix name generation #3318

Merged
merged 2 commits into from Apr 27, 2021
Merged

[o2k] fix name generation #3318

merged 2 commits into from Apr 27, 2021

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Apr 23, 2021

  1. OperationId was not slugified, which could cause illegal names
  2. OperationId and x-kong-name on operation level were not prefixed with the spec name

wrt 2; OperationId is required to be unique within a spec, yet since multiple specs are combined within Kong installation, we prefix them by the spec name to prevent accidental name collisions.

Closes INS-652

@Tieske Tieske changed the title fix name generation [o2k] fix name generation Apr 23, 2021
@Tieske Tieske added the PA-openapi-2-kong Package: OpenAPI 2 Kong label Apr 23, 2021
- OperationId was not slugified, which could cause illegal names
- OperationId and x-kong-name on operation level were not prefixed
  with the spec name
Copy link
Contributor

@develohpanda develohpanda left a comment

Choose a reason for hiding this comment

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

🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PA-openapi-2-kong Package: OpenAPI 2 Kong
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants