Skip to content

Correct "Including Multiple Snippets for an Operation" #970

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

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions docs/src/docs/asciidoc/working-with-asciidoctor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ In its simplest form, you can use the macro to include all of the snippets for a
operation::index[]
----

You can use the operation macro also supports a `snippets` attribute.
The `snippets` attribute to select the snippets that should be included.
The operation macro also supports a `snippets` attribute.
You can use it to select the snippets that should be included.
The attribute's value is a comma-separated list.
Each entry in the list should be the name of a snippet file (minus the `.adoc` suffix) to include.
For example, only the curl, HTTP request, and HTTP response snippets can be included, as shown in the following example:
Expand Down