StyleBook configuration

Substitutions reference

In the components section or operations section, you refer to substitutions defined in the substitutions section by using the $substitutions.<substitution-name> notation. For example, $substitutions.http-port.

If a substitution is a map, you can refer to an element in the map as $substitutions.<substitutions-name>[<map-key>]. For example, $substitutions.protocol-map[$parameters.port].

Substitutions reference

In this article