Skip to content

Multi-target supportΒ #267

@pavelkornev

Description

@pavelkornev

While using this specification, we imperatively found out that it may become too verbose. Being able to define an array of targets would greatly simplify some use cases. Was it considered?

Example

Current state:

overlay: 1.1.0
info:
  title: Targeted Overlay
  version: 1.0.0
actions:
  - target: $.paths['/foo'].get.description
    update: This is the updated description
  - target: $.paths['/bar'].get.description
    update: This is the updated description
  - target: $.paths['/baz'].get.description
    update: This is the updated description

Possible variation:

overlay: 1.1.0
info:
  title: Targeted Overlay
  version: 1.0.0
actions:
  - target:
    - $.paths['/foo'].get.description
    - $.paths['/bar'].get.description
    - $.paths['/baz'].get.description
    update: This is the new description

Disclaimer: the example above is intentionally artificial for simplicity reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions