Open DefCon-007 opened 2 weeks ago
Try to convert a schema with an invalid tag filter and split or single mode.
split
single
Use the following config for Orval.
module.exports = { petstore: { input: {target: '<PATH TO SCHEMA>, filters: { tags: ['invalid-tag'] }}, output: { mode: 'single', client: 'axios', } }, };
An empty file is generated with only the header comment.
No file should be generated as it happens when using the tags mode with a invalid tag.
tags
…
System: OS: macOS 15.1 CPU: (14) arm64 Apple M3 Max Memory: 150.47 MB / 36.00 GB Shell: 5.9 - /bin/zsh
What are the steps to reproduce this issue?
Try to convert a schema with an invalid tag filter and
split
orsingle
mode.Use the following config for Orval.
What happens?
An empty file is generated with only the header comment.
What were you expecting to happen?
No file should be generated as it happens when using the
tags
mode with a invalid tag.Any logs, error output, etc?
…
Any other comments?
…
What versions are you using?