Skip to content

[o2k] fix name generation#3318

Merged
develohpanda merged 2 commits intodevelopfrom
naming
Apr 27, 2021
Merged

[o2k] fix name generation#3318
develohpanda merged 2 commits intodevelopfrom
naming

Conversation

@Tieske
Copy link
Contributor

@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 requested a review from develohpanda April 23, 2021 13:00
@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.

2 participants