We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a44060 commit 55846e1Copy full SHA for 55846e1
packages/openapi-code-generator/src/core/openapi-loader.ts
@@ -138,7 +138,7 @@ export class OpenapiLoader {
138
139
// In-line plain text files rather than trying to load as OpenAPI documents.
140
if (isTextFile($ref)) {
141
- obj[key] = this.loadFileContent(loadedFrom, $ref)
+ obj[key] = loadFile($ref)
142
} else {
143
await this.loadFile(pathFromRef($ref))
144
}
scripts/generate.template.sh
@@ -4,4 +4,4 @@ set -xeo pipefail
4
5
template=$1
6
7
-find ./integration-tests-definitions -type f | xargs -n 1 -P 8 ./scripts/generate.single.sh "$template"
+find ./integration-tests-definitions -type f -name '*.yaml' | xargs -n 1 -P 8 ./scripts/generate.single.sh "$template"
0 commit comments