-
I run |
Beta Was this translation helpful? Give feedback.
Answered by
dxxvi
Aug 13, 2022
Replies: 1 comment 1 reply
-
It's not an issue of pnpm but an issue of openapi. Add a field name {
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "5.3.0",
"generators": {
"fetch": {
"generatorName": "typescript-fetch",
"output": "src/generated-sources",
"glob": "../kafka-ui-contract/src/main/resources/swagger/kafka-ui-api.yaml",
"additionalProperties": {
"enumPropertyNaming": "UPPERCASE",
"typescriptThreePlus": true,
"supportsES6": true,
"nullSafeAdditionalProps": true,
"withInterfaces": true
},
"typeMappings": {
"object": "any"
}
}
},
"repository": {
"queryUrl": "https://nexus.devops.company.net/repository/maven-central/solrsearch/select?q=g:${group.id}+AND+a:${artifact.id}&core=gav&start=0&rows=200",
"downloadUrl": "https://nexus.devops.company.net/repository/maven-central/${groupId}/${artifactId}/${versionName}/${artifactId}-${versionName}.jar"
}
}
} Don't forget to unset |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dxxvi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not an issue of pnpm but an issue of openapi. Add a field name
repository
to openapitools.json like this: