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

Rest - loop reference - Step 2 - Add reference name for complex type and loop reference #464

Merged
merged 3 commits into from
Jul 5, 2016

Conversation

hellosnow
Copy link
Contributor

Add reference name for complex type and loop reference, so that will show as A->B->A.

@chenkennt @vwxyzh @superyyrrzz @qinezh @ansyral

throw new ArgumentException($"Formatted reference path \"{formattedPath}\" must start with '/' or '#/'");
}

return formattedPath.Split('/').Last();
Copy link
Contributor

Choose a reason for hiding this comment

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

for #/ decode first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

before calling this method, formatted path has been decoded. But for better undestanding, I will merge this two methods into one.


In reply to: 69504557 [](ancestors = 69504557)

@vwxyzh
Copy link
Contributor

vwxyzh commented Jul 5, 2016

👍

@hellosnow hellosnow merged commit 626d252 into dotnet:dev Jul 5, 2016
@hellosnow hellosnow deleted the looprefname branch July 5, 2016 09:21
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