# @axway/api-builder-oas-flow-node

> Converts Open API Specification (OAS) 2.x and 3.x files to flow-nodes.

Latest version **3.2.1** (published 2023-11-10) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install @axway/api-builder-oas-flow-node
pnpm add @axway/api-builder-oas-flow-node
yarn add @axway/api-builder-oas-flow-node
bun add @axway/api-builder-oas-flow-node
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.1 |
| Published | 2023-11-10 |
| First published | 2020-02-14 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 16 |
| Dependencies | 14 |
| Unpacked size | 140 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Axway R&D |
| Maintainers | buildernpmuser, nkeranova, axway-npm, bladedancer, ddimonov-axway, neon-axway, vchauhan, mdimitrova, pdzhorev, axway_alasdair, pltod2, pbozhkovaxway, mbonchev-axway, axway-vertex |
| Keywords | axway, api builder, swagger, oas |

## Links

- npm: https://www.npmjs.com/package/@axway/api-builder-oas-flow-node
- npm.io page: https://npm.io/package/@axway/api-builder-oas-flow-node

## Dependencies (14)

- [ajv](https://npm.io/package/ajv.md) ^6.12.5
- [chalk](https://npm.io/package/chalk.md) ^2.3.2
- [debug](https://npm.io/package/debug.md) ^2.6.9
- [find-up](https://npm.io/package/find-up.md) ^4.1.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.13.1
- [json-refs](https://npm.io/package/json-refs.md) ^3.0.2
- [capitalize](https://npm.io/package/capitalize.md) ^2.0.1
- [content-type](https://npm.io/package/content-type.md) ^1.0.4
- [@axway/axsway](https://npm.io/package/@axway/axsway.md) ^2.1.1
- [openapi-schemas](https://npm.io/package/openapi-schemas.md) ^2.0.3
- [@axway/requester](https://npm.io/package/@axway/requester.md) 6.2.1
- [strict-uri-encode](https://npm.io/package/strict-uri-encode.md) ^2.0.0
- [@axway/json-pointer](https://npm.io/package/@axway/json-pointer.md) ^0.7.0
- [@axway/api-builder-sdk](https://npm.io/package/@axway/api-builder-sdk.md) 2.0.2

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 3.2.1 (latest) — 2023-11-10
- 2.7.1 (latest-4) — 2023-11-10
- 2.7.0 (yangon) — 2023-11-06
- 3.2.0 (huxley) — 2023-11-02
- 3.1.0 (glaspell) — 2023-10-11
- 3.0.2 (dickens) — 2022-10-07
- 2.6.8 (wicklow) — 2022-10-07
- 3.0.1 (christie) — 2022-09-23
- 3.0.0 (austen) — 2022-09-09
- 2.6.7 (villasimius) — 2022-09-07
- 2.6.6 (next) — 2022-07-26
- 2.6.5 (riga) — 2022-07-13
- 2.6.4 (qom) — 2022-06-20
- 2.6.3 — 2022-06-14
- 2.6.2 — 2022-05-17
- … 32 more at https://npm.io/package/@axway/api-builder-oas-flow-node/versions

## README

# @axway/api-builder-oas-flow-node

## Changes

#### 3.2.1
- #7600: Fix @axway/requester explicit dependencies.

#### 3.2.0
- #7599: Update @axway/requester.

#### 3.1.0
- #7595: Update @axway/requester dependency.

#### 3.0.2
- #7538: Fixed an issue where the request content-length header was calculated incorrectly when the request body was a string that contains multi-byte characters.

#### 3.0.1
- #7517: Update @axway/api-builder-sdk dependency.

#### 3.0.0
- #6089: Breaking change: requires minimum Node.js version 16.x.

#### 2.6.8
- #7538: Fixed an issue where the request content-length header was calculated incorrectly when the request body was a string that contains multi-byte characters.

#### 2.6.7
- #7470: Update @axway/api-builder-sdk dependency.

#### 2.6.6
- #7466: Update @axway/api-builder-sdk dependency.

#### 2.6.5
- #7474: Internal dev-dependency move.

#### 2.6.4
- #7412: Pin in-house dependencies.

#### 2.6.3
- #7411: Internal bump.

#### 2.6.2
- #7403: Internal dev-dependency change.

#### 2.6.1
- #7345: Internal dependency bump.

#### 2.6.0
- #6933: Replace peerDependency on @axway/api-builder-runtime with `engines.apibuilder`.

#### 2.5.1
- #7139: Normalise the case of response content media-types and headers in internal OpenAPI representation.

#### 2.5.0
- #7284: Now preserves the OAS 2 body name in `op.requestBodyName`.

#### 2.4.0
- #7303: Added option to disable stripping formats from JSON schema.

#### 2.3.0
- #7282: The exported schemas now have their draft version set in $schema property.

#### 2.2.1
- #7111: Internal refactoring.

#### 2.2.0
- #7155: Fixed issue with [CVE-2021-3918](https://nvd.nist.gov/vuln/detail/CVE-2021-3918) and removed the dependency on the `request` library.
- #7155: Fixed an issue where the 'Authorization' header could not be unset (i.e. it was set to `null` in the Advanced HTTP Options).

#### 2.1.1
- #7123: Changed `json-pointer` dependency to `@axway/json-pointer` as a fix for CVE-2021-23820.

#### 2.1.0
- #7132: Added additional parameter properties for [style](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values) and `explode` options.

#### 2.0.4
- #7105: Response `body` is no longer logged at DEBUG to improve performance.

#### 2.0.3
- #7059: Fixed an issue loading OAS spec with the error "Cannot convert undefined or null to object". The issue was encountered on OAS specs containing mixed references to component properties, e.g. "#/components/schemas/Pet/properties/name" and references to components, e.g. ""#/components/schemas/Pet".

#### 2.0.2
- #7057: Updated documentation links.

#### 2.0.1
- #6295: Ensured `Server URL` parameter of generated Flow-node(s) is editable.

#### 2.0.0
- #5352: Breaking change: updated required minimum version of @axway/api-builder-runtime to Utrecht (4.69.0).
- #5352: Added support for OAuth2 Client Credentials.

#### 1.2.6
- #7010: Internal refactoring around testing input / output validation.
- #7010: OAS methods that describe binary input `{ type: 'string', format: 'binary' }` will now generate parameter schema of type any (i.e. `{}`) instead of `{ type: 'string' }`.

#### 1.2.5
- #6934: Internal refactoring around code style.

#### 1.2.4
- #6938: Updated [@axway/axsway](https://github.com/Axway/axsway) to resolve security issue with z-schema.

#### 1.2.3
- #6783: Internal refactoring.

#### 1.2.2
- #6732: When an instance of `APIBuilder` is not found, (which can occur when testing from a sub-directory of an API Builder project), a config will not be generated for the OAS plugin. Instead of throwing `no @axway/api-builder-runtime instance`, it will now just emit a warning.
- #6732: Updated OAS validation to include any error detail in the thrown error instead of logging the details separately.

#### 1.2.1
- #6546: Update `ajv` dependency.

#### 1.2.0
- #6296: Added optional Advanced HTTP Options `Headers` parameter to generated flow-nodes. This allows overriding headers, as well as defining any headers not in the OAS spec.

#### 1.1.0
- #6549: Fix regression where basePath could not be overridden in config for OAS2 definitions.
- #6549: Allow an existing basePath to be removed as part of an override in config for OAS2 definitions by providing the value as an empty string.
- #6412: Added custom HTTP headers to generated flow-nodes using `@axway/api-builder-plugin-fn-swagger`.

#### 1.0.4
- #6412: Upgrade to `@axway/api-builder-sdk@1.0.0`.

#### 1.0.3
- #6322: Previously, references to schema definitions/components that had keys containing URI reserved characters ([RFC-3986 section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2)) (e.g. "Pet!") would be incorrectly encoded, causing a runtime error, "MissingRefError: can't resolve reference schema:///...". Now, references are correctly encoded.

#### 1.0.2
-  #6320: Fixed `Uncaught Exception Unable to register flow-node` on API Builder startup when handling OAS2 definitions with response schemas that were `type: "file"`.

#### 1.0.1
- #6318: Fixes unused references warning.
- #6315: Internal chore.

#### 1.0.0
- #6277: Initial release

---
_Source: https://npm.io/package/@axway/api-builder-oas-flow-node · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
