Skip to content

Unlike Asciidoctor’s built-in macros, operation macro does not support substitution in its target #491

@jamesfoster

Description

@jamesfoster

To allow referring to operations using attribute substitution, such as:

operation::{prefix}-name[]

Requires a change to the following file to call sub-attributes:

spring-restdocs-asciidoctor/src/main/resources/extensions/operation_block_macro.rb

def process(parent, operation, attributes)
  operation = parent.sub_attributes operation  # << --
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions