-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Operation & Tag Deep-linking Support #2884
Comments
Yes, I'm aware: see |
@webron, before I mark this as Ready, can you give me a summary of how we want this to work in 3.x? Thanks! |
We don't have to use a shebang, hash should be enough. The goal is to have permanent links to tags or operations in the UI.
Because operations can exist under multiple tags, the unique URL should be a combination of the two. In the petstore example:
The URL structure (slashes, hash) can change, as long as the spirit is the same. |
I would like to add one more item to the list of permanent links from @webron
There is also valuable information there and on a few occasions I had to refer customer to that section, a way to direct link there would be awesome |
Also it will be nice if the URL structure (slashes, hash) is backwards compatible with 2.x |
I agree - keep in mind it's possible to generate the URLs as proposed, and still interpret the legacy URLs correctly. |
@heldersepu for linking to specific sections (responses, or others), please file a separate ticket with the relevant details. As much as we'd like to offer backwards compatibility in general, it's unlikely to be here (and this is a major version). We're likely to use hashes in this version, for example, as opposed to shebang. |
This is now implemented - please note that the functionality must be enabled explicitly by passing |
👍 |
@heldersepu, I know this was a big blocker for you getting Swashbuckle moved up to 3.x, so CCing you here 😄 |
then + @domaindrivendev who leads that project! |
looking good: Love it! |
@heldersepu, I made a note about that here: #3388 (comment) Glad to see it's working well! |
@heldersepu, models are not included in this feature (they're much less commonly linked to, in our experience). You're seeing the tooltip that indicates the model's path in the spec, which is useful when one is writing a $ref that points to a model. |
Shebang support is no longer present on operations in 3.x as noted in the docs. This feature was present in 2.x. I found no open issue tracking its release in 3.x so I thought it best to open one.
The text was updated successfully, but these errors were encountered: