optic
optic copied to clipboard
OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
**Describe the bug** I'm trying to write a new spec for a Backstage plugin that uses discriminated union types rendered as `oneOf`. I'm getting an AJV validationg error where Optic...
**Describe the bug** When default response is defined and a 500 error is sent by the server, Optic notes some fake query parameters that don't exist on the schema. Example...
**Describe the enhancement** Find links in every description/summary and then try to load them. If they return a 404 it's a dead link **Additional information** Requested by @savage-alex
## 🍗 Description _What does this PR do? Anything folks should know?_ unreverts https://github.com/opticdev/optic/pull/2465 the reason this was failing is because babel was transpiling dynamic imports (`await import()`) into `require()`...
**Describe the bug** Optic v0.50.10 depends on vulnerable version of `latest-version`. **To Reproduce** Steps to reproduce the behavior: 1. npm install @useoptic/optic 2. npm audit **Expected behavior** `latest-version` > 5.1.0...
## 🍗 Description We were using draft-07 for our validation schema instead of draft-04 for the JSON Schema version in 3.0 ## 📚 References _Links to relevant docs (Notion, Twist,...
**Describe the bug** Optic is not failing when linting specs that have `$ref` and sibling properties specified: ```yaml field: $ref: ... type: object ``` The values are all getting merged....
**Describe the enhancement** e.g. having a `https://app.useoptic.com/apis/@f2f6367a-5842-484e-b7d1-ef2296577977/Corellium%20API_-_-H4N8QZ3ysVdlj5P5vi09.xml` endpoint of `https://app.useoptic.com/apis/@f2f6367a-5842-484e-b7d1-ef2296577977/Corellium%20API_-_-H4N8QZ3ysVdlj5P5vi09` would be handy. For example, we could use the Slack RSS app to automatically post in a channel when there's...
**Describe the enhancement** Similar to `x-optic-path-ignore`, it'd be nice to have a `x-optic-content-type-ignore` (which would be for the response `content-type` header). **Additional information** Typically, for _most_ (but not all) endpoints...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [openai](https://redirect.github.com/openai/openai-node) | [`4.33.1` -> `4.68.1`](https://renovatebot.com/diffs/npm/openai/4.33.1/4.68.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...