<commit_before># OpenAPI to Apigee Mock Proxy

A tool which generates an Apigee API Proxy bundle from an Open API 3
specification, with mock responses using Assign Message policies from the
examples provided in the specification.

## Dependencies

- [NodeJS](https://nodejs.org/en/) LTS version or above
- Apigee Evaluation [Organization](https://login.apigee.com/sign__up)

## Prerequisites

Clone the code from this GitHub repo and run `npm install` to download and
install the required dependencies.

## Usage

```bash
node bin/oas-apigee-mock generateApi <proxy-name> \
  -s <api-spec> \
  -d <destination-dir> \
  -b <base-path>
```

### Example

```bash
node bin/oas-apigee-mock generateApi retail -s test/orders.yaml
```<commit_msg>Minor readme fix - Updating Apigee url<commit_after># OpenAPI to Apigee Mock Proxy

A tool which generates an Apigee API Proxy bundle from an Open API 3
specification, with mock responses using Assign Message policies from the
examples provided in the specification.

## Dependencies

- [NodeJS](https://nodejs.org/en/) LTS version or above
- [Apigee Organization](https://cloud.google.com/apigee/pricing)

## Prerequisites

Clone the code from this GitHub repo and run `npm install` to download and
install the required dependencies.

## Usage

```bash
node bin/oas-apigee-mock generateApi <proxy-name> \
  -s <api-spec> \
  -d <destination-dir> \
  -b <base-path>
```

### Example

```bash
node bin/oas-apigee-mock generateApi retail -s test/orders.yaml
```
{'fraction_non_alphanumeric': 0.1068090787716956, 'fraction_numerical': 0.0013351134846461949, 'mean_word_length': 4.1689655172413795, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2340437', 'n_tokens_mistral': 498, 'n_tokens_neox': 470, 'n_words': 170}