Skip to content

Question - overwrite imported stage #687

Description

@Draeggon

I have a stage in a global file which i import

stages:
  - id: PostRoom
    name: Creating a room
    request:
      url: "{url}/room"
      json:
        title: my title
        description: my description
      method: POST
    response:
      json:
        id: !re_fullmatch "[0-9a-f]{24}"  # the regex check if id is an objectId
        title: my title
        description: my description
        users: []
      save:
        json:
          roomId: id  # saving the id for the other function

and when i use it in another file

stages:
  - type: ref
    id: PostRoom

i need to overwrite it but i haven't find any way to do that
how can it be done ?

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