(options: {
readonly id: string
readonly method: OpenAPISpecMethodName
readonly pathIds: Array<string>
readonly pathTemplate: string
readonly description: string | undefined
})
| 233 | * @since 4.0.0 |
| 234 | */ |
| 235 | export const makeDeepMutable = (options: { |
| 236 | readonly id: string |
| 237 | readonly method: OpenAPISpecMethodName |
| 238 | readonly pathIds: Array<string> |
| 239 | readonly pathTemplate: string |
| 240 | readonly description: string | undefined |
| 241 | }): Types.DeepMutable<ParsedOperation> => ({ |
| 242 | ...options, |
| 243 | operationId: undefined, |
| 244 | path: "", |
| 245 | tags: [], |
| 246 | metadata: { |
| 247 | summary: undefined, |
| 248 | description: options.description, |
| 249 | deprecated: false, |
| 250 | externalDocs: undefined |
| 251 | }, |
| 252 | parameters: { |
| 253 | path: [], |
| 254 | query: [], |
| 255 | header: [], |
| 256 | cookie: [] |
| 257 | }, |
| 258 | requestBody: undefined, |
| 259 | responses: [], |
| 260 | defaultResponse: undefined, |
| 261 | effectiveSecurity: [], |
| 262 | urlParams: [], |
| 263 | headers: [], |
| 264 | cookies: [], |
| 265 | payloadFormData: false, |
| 266 | payloadFormUrlEncoded: false, |
| 267 | pathSchema: undefined, |
| 268 | querySchema: undefined, |
| 269 | querySchemaOptional: true, |
| 270 | headersSchema: undefined, |
| 271 | headersSchemaOptional: true, |
| 272 | requestBodyRepresentable: [], |
| 273 | successSchemas: new Map(), |
| 274 | errorSchemas: new Map(), |
| 275 | voidSchemas: new Set(), |
| 276 | paramsOptional: true, |
| 277 | sseSchemaMode: "data", |
| 278 | binaryResponse: false |
| 279 | }) |
nothing calls this directly
no outgoing calls
no test coverage detected