go-mokapi 0.10.0 → 0.10.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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-mokapi",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Easy and flexible API mocking",
5
5
  "homepage": "https://mokapi.io",
6
6
  "repository": {
package/types/index.d.ts CHANGED
@@ -135,19 +135,19 @@ export interface HttpRequest {
135
135
  readonly url: Url;
136
136
 
137
137
  /** Body contains request body specified by OpenAPI request body. */
138
- readonly body: JSONValue;
138
+ readonly body: any;
139
139
 
140
140
  /** Object contains path parameters specified by OpenAPI path parameters. */
141
- readonly path: { [key: string]: JSONValue };
141
+ readonly path: { [key: string]: any };
142
142
 
143
143
  /** Object contains query parameters specified by OpenAPI query parameters. */
144
- readonly query: { [key: string]: JSONValue };
144
+ readonly query: { [key: string]: any };
145
145
 
146
146
  /** Object contains header parameters specified by OpenAPI header parameters. */
147
- readonly header: { [key: string]: JSONValue };
147
+ readonly header: { [key: string]: any };
148
148
 
149
149
  /** Object contains cookie parameters specified by OpenAPI cookie parameters. */
150
- readonly cookie: { [key: string]: JSONValue };
150
+ readonly cookie: { [key: string]: any };
151
151
 
152
152
  /** Path value specified by the OpenAPI path */
153
153
  readonly key: string;
package/types/kafka.d.ts CHANGED
@@ -80,12 +80,12 @@ export interface ProduceArgs {
80
80
  * });
81
81
  * }
82
82
  */
83
- messages: Message[]
83
+ messages?: Message[]
84
84
 
85
85
  /**
86
86
  * The retry option is used if script is executed before Kafka topic is set up.
87
87
  */
88
- retry: ProduceRetry
88
+ retry?: ProduceRetry
89
89
  }
90
90
 
91
91
  /**