x-openapi-flow 1.3.1 → 1.3.4

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -30,7 +30,7 @@ npm install @tiago-marques/x-openapi-flow
30
30
  If authentication is required, include this in your `.npmrc`:
31
31
 
32
32
  ```ini
33
- //npm.pkg.github.com/:_authToken=${GH_PACKAGES_TOKEN}
33
+ //npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_TOKEN}
34
34
  ```
35
35
 
36
36
  Use a GitHub PAT with `read:packages` (install) and `write:packages` (publish).
@@ -406,7 +406,7 @@ Field reference format:
406
406
 
407
407
  - UI plugin behavior is covered by tests in `tests/plugins/plugin-ui.test.js`.
408
408
  - For UI interpretation of `x-openapi-flow`, use `showExtensions: true` with the plugin at `adapters/ui/swagger-ui/x-openapi-flow-plugin.js`.
409
- - A ready HTML example is available at `../example-project/examples/swagger-ui/index.html`.
409
+ - A ready HTML example is available at `../example/openapi-swagger-ui/examples/swagger-ui/index.html`.
410
410
  - The plugin renders a global **Flow Overview** (Mermaid image) near the top of the docs, plus operation-level flow cards.
411
411
 
412
412
  ![Swagger UI integration result](../docs/assets/x-openapi-flow-extension.png)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-openapi-flow",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "description": "OpenAPI extension for resource workflow and lifecycle management",
5
5
  "main": "lib/validator.js",
6
6
  "repository": {
@@ -36,6 +36,7 @@
36
36
  "test:cli": "node --test tests/cli/cli.test.js",
37
37
  "test:ui": "node --test tests/plugins/plugin-ui.test.js",
38
38
  "test:integration": "node --test tests/integration/*.test.js",
39
+ "test:examples": "node --test tests/integration/examples.test.js",
39
40
  "test:smoke": "node bin/x-openapi-flow.js validate examples/payment-api.yaml --profile strict"
40
41
  },
41
42
  "keywords": [