http-spec
http-spec copied to clipboard
Utilities to normalize OpenAPI v2 and v3 objects for the Stoplight ecosystem.
With openapi 3.1.0 the spec now allows for specifying scopes for bearer auth. This is useful for APIs which accept API keys in headers (with bearer auth) and the user...
There is still some awkward spots here IMHO, so I would like to discuss it. (Note that for the sake of discussion I simplified some types here) A single parameter...
The @stoplight/json-schema-generator package is using the deprecated `request` library, which results in these `yarn` warnings when installing: ``` warning @stoplight/prism-cli > @stoplight/http-spec > @stoplight/json-schema-generator > [email protected]: request has been deprecated,...
The following example object ```json { "result": [ { "id": "1", "cat": { "catfield1": {}, "catfield2": { "name": "text" } }, "dog": {} }, { "id": "2", "cat": { "catfield1":...
## User story. As a user, I would prefer that responses for Postman Collections have a different key other than `default` which make them unique. https://github.com/stoplightio/http-spec/blob/master/src/postman/transformers/params.ts#L76-L99 ## Is your feature...
**Chore summary** The low-level goal is to make http-spec treat malformed input in a more graceful manner. The high-level goal is to improve UX in Studio, in particular when you...
**User story.** When resolving documents in graphite, we bundle the data now. This can result in broken local refs for HTTP operations for example, because when we transform an oas...
We are transforming user input, we cannot assume the `data` property will actually be a `Schema` without doing some validation on it somewhere in the code. Because of this, we're...
**Chore summary** `IHttpOperation` [merger](https://github.com/stoplightio/http-spec/blob/master/src/merge.ts) does not handle all the cases for comparison of server URLs. **Tasks** - [ ] host should be compared as case-insensitive - [ ] path should...
Bumps [ws](https://github.com/websockets/ws) from 7.5.7 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...