swagger-js
swagger-js copied to clipboard
Javascript library to connect to swagger-enabled APIs via browser or nodejs
The synopsis is that when I use swagger-client (aka swagger-js) to post an object to a route that accepts JSON, it seems to be sending no content and hence no...
With latest swagger-ui-express (swagger-ui-dist has updated from 3.5 to 4) I'm receiving object `{ bearer: 'my key' }` instead of `'my key'` as value. ``` curl -X 'GET' \ 'https://example.org/api/me'...
### Description Add `allowReserved` to path parameter to support reserved characters like the query parameter already does. Default stays the same. See `allowReserved` in the parameter documentation: https://swagger.io/specification/#parameter-object ### Motivation...
When resolving subtree with nested `allOf` keywords, `allOf` and `$ref` keywords are not resolved on all places. The problem manifests only when resolution is done on subtree of the definition...
### Q&A (please complete the following information) - OS: Ubuntu 22.04 - Environment: Node 16.13.2 - Method of installation: npm - Swagger-Client version: 3.18.5 - Swagger/OpenAPI version: OpenAPI 3.0 ###...
Hi folks! I tried to handle data:url for spec instead and faced an exception. The documentation said `var specUrl = 'http://petstore.swagger.io/v2/swagger.json'; // data urls are OK too 'data:application/json;base64,abc...' ` but...
The same pointers in different files cause mutations not being applied. The problem is in these lines of code: https://github.com/swagger-api/swagger-js/blob/master/src/specmap/index.js#L114-L130 `obj.$$ref` doesn't include file info and the same pointers in...
Currently, cookie parameters and authorizations fail to be applied in the browser, though it succeeds in Node. This is due to the fact that browsers bar applications from setting or...
### Q&A (please complete the following information) - OS: Windows, macOS - Environment: Nodejs 12, any browser - Method of installation: npm - Swagger-Client version: 3.18 - Swagger/OpenAPI version: OpenAPI...
### Q&A (please complete the following information) - OS: [Windows 11] - Environment: [Chrome 98.0.4758.102] - Method of installation: [] - Swagger-Client version: [] - Swagger/OpenAPI version: [OpenAPI 3.0.3] ###...