@mittwald/api-code-generator 4.115.1 → 4.136.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ export class SecuritySchemes {
13
13
  this.name = new Name(SecuritySchemes.ns, components.name);
14
14
  Object.values(doc).forEach((scheme) => {
15
15
  assertNoRefs(scheme);
16
- invariant(scheme.type === "apiKey", `Security scheme type '${scheme.type}' is not supported (allowed types: 'apiKey')`);
16
+ invariant(scheme.type === "apiKey" || scheme.type === "http", `Security scheme type '${scheme.type}' is not supported (allowed types: 'apiKey', 'http')`);
17
17
  });
18
18
  this.schemes = Object.entries(doc).map(([name, scheme]) => new SecurityScheme(this, name, scheme));
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-code-generator",
3
- "version": "4.115.1",
3
+ "version": "4.136.1",
4
4
  "type": "module",
5
5
  "repository": "https://github.com/mittwald/api-client-js.git",
6
6
  "license": "MIT",
@@ -84,5 +84,5 @@
84
84
  "@oclif/plugin-plugins"
85
85
  ]
86
86
  },
87
- "gitHead": "1697082f2a361212e2a0366418823d80ed98c5b4"
87
+ "gitHead": "37f84150b556ddbdaa705b6ff1969c4e7fef3d52"
88
88
  }