Skip to content

How to tell pnpm to use a particular maven repo? #2443

Answered by dxxvi
dxxvi asked this question in Q&A
Discussion options

You must be logged in to vote

It's not an issue of pnpm but an issue of openapi. Add a field name repository to openapitools.json like this:

{
  "$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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Haarolean
Comment options

Answer selected by dxxvi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants