https://github.com/penx/sway-resolve-reference
Illustrating an issue with sway
https://github.com/penx/sway-resolve-reference
Last synced: 7 months ago
JSON representation
Illustrating an issue with sway
- Host: GitHub
- URL: https://github.com/penx/sway-resolve-reference
- Owner: penx
- Created: 2018-02-13T09:45:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T08:38:07.000Z (over 5 years ago)
- Last Synced: 2025-03-02T12:17:25.598Z (10 months ago)
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sway-resolve-reference
Illustrating an issue with [Sway](https://github.com/apigee-127/sway) and circular references.
See https://github.com/apigee-127/sway/issues/165
To reproduce:
```
git clone git@github.com:penx/sway-resolve-reference.git
cd sway-resolve-reference
npm run debug
```
Then, with the mock server running:
```
npm test
```
Uses openapi-mock, that uses a GitHub fork of [swagger-node-runner](https://github.com/penx/swagger-node-runner/tree/feature/support-date-in-mocks), that uses a [GitHub fork of Sway](https://github.com/penx/sway/tree/feature/date-format-in-mocks), which uses json-refs@3.0.4.
```
sway-resolve-reference@0.0.1
└─┬ openapi-mock@0.0.4
└─┬ swagger-node-runner@0.7.3 (github:penx/swagger-node-runner#b73eb1c5c7bbdae207957692f0f9d8379ba84866)
└─┬ sway@1.0.0 (github:penx/sway#8ebcbf84dcaf7ab38ed6830e43cd3f36b6912aec)
└── json-refs@3.0.4
```