Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions specification/network/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ directive:
- rename-operation:
from: VirtualHubBgpConnection_Delete
to: VirtualHubBgpConnections_Delete
- rename-operation:
from: InboundSecurityRule_CreateOrUpdate
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this one? Duplicate operation ID?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's required for autorest.java. For operations, the code generator will take InboundSecurityRule and prepare keywords of InboundSecurityRule and InboundSecurityRules while it already exists InboundSecurityRules in the swagger definition. Once we rename it to a new operation name, the conflict gets resolved.

to: InboundSecurityRuleOperation_CreateOrUpdate
```

### Java multi-api
Expand Down