feat: configurable filename separator for split command (#610)

* Make file path separator configurable in split command

* chore: add tests for the file name separator

* chore: update snapshots

* docs: split separator option description

* chore: code style fixes
This commit is contained in:
volodymyr-rutskyi
2022-03-28 18:44:43 +03:00
committed by GitHub
parent 3e8b08449d
commit 1f10c7cd77
9 changed files with 54 additions and 15 deletions

View File

@@ -109,7 +109,7 @@ paths:
/pets:
$ref: paths/pets.yaml
/pets/{petId}:
$ref: paths/pets@{petId}.yaml
$ref: paths/pets_{petId}.yaml
🪓 Document: ../../../__tests__/split/oas3-no-errors/openapi.yaml is successfully split
and all related files are saved to the directory: output