@let-aurn/swagger-client 0.3.1 → 0.3.2

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.
@@ -10,6 +10,7 @@ import type {
10
10
  AnyApiEndpoint,
11
11
  BodyVariablesOf,
12
12
  HeaderVariablesOf,
13
+ HttpMethod,
13
14
  PathVariablesOf,
14
15
  QueryVariablesOf,
15
16
  ResponseOf
@@ -27,7 +28,7 @@ export interface SwaggerClientConfig {
27
28
  * Describes an HTTP request produced by the generated swagger client.
28
29
  */
29
30
  export interface SwaggerHttpRequest {
30
- method: string;
31
+ method: HttpMethod;
31
32
  url: string;
32
33
  headers?: Record<string, string>;
33
34
  query?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@let-aurn/swagger-client",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Generate typed Angular and React clients from OpenAPI JSON files.",
5
5
  "type": "module",
6
6
  "bin": {