Skip to content

Commit

Permalink
Merge branch 'next' into oleh/openapi-adding-command-to-solve-circula…
Browse files Browse the repository at this point in the history
…rity-and-recursiveness
  • Loading branch information
olehshh authored Jan 6, 2025
2 parents e8dab46 + 4aafe8e commit 8201352
Show file tree
Hide file tree
Showing 12 changed files with 2,091 additions and 1,880 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [10.1.0-next.2](https://github.com/readmeio/rdme/compare/v10.1.0-next.1...v10.1.0-next.2) (2025-01-06)


### Features

* **openapi:** a fresh coat of paint on `openapi inspect` ([#1127](https://github.com/readmeio/rdme/issues/1127)) ([ff8c304](https://github.com/readmeio/rdme/commit/ff8c304c84cb58aa27754d9f5a85092e610ed1f4))

# [10.1.0-next.1](https://github.com/readmeio/rdme/compare/v10.0.0...v10.1.0-next.1) (2025-01-06)


Expand Down
628 changes: 312 additions & 316 deletions __tests__/commands/openapi/__snapshots__/inspect.test.ts.snap

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion __tests__/commands/openapi/inspect.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable vitest/no-conditional-expect */

import assert from 'node:assert';

import { describe, it, expect, beforeAll } from 'vitest';
Expand Down
30 changes: 15 additions & 15 deletions __tests__/lib/__snapshots__/analyzeOas.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports[`#analyzeOas > should analyze an OpenAPI definition 1`] = `
],
"present": true,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#schema-object",
"3.1": "https://json-schema.org/understanding-json-schema/reference/object.html#additional-properties",
},
},
Expand All @@ -41,8 +41,8 @@ exports[`#analyzeOas > should analyze an OpenAPI definition 1`] = `
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#callback-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#callback-object",
},
},
"circularRefs": {
Expand All @@ -64,25 +64,25 @@ exports[`#analyzeOas > should analyze an OpenAPI definition 1`] = `
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#discriminator-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#discriminator-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#discriminator-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#discriminator-object",
},
},
"links": {
"description": "Links allow you to define at call-time relationships to other operations within your API.",
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#link-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#link-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#link-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#link-object",
},
},
"polymorphism": {
"description": "Polymorphism (allOf, oneOf, and anyOf) allow you to describe schemas that may contain either many different shapes, or a single shape containing multiple different schemas.",
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#schema-object",
"3.1": "https://json-schema.org/understanding-json-schema/reference/combining.html",
},
},
Expand All @@ -91,25 +91,25 @@ exports[`#analyzeOas > should analyze an OpenAPI definition 1`] = `
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#server-variable-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#server-variable-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#server-variable-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#server-variable-object",
},
},
"style": {
"description": "Parameter serialization (style) allows you to describe how the parameter should be sent to your API.",
"locations": [],
"present": false,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameter-style",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-style",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#parameter-style",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#parameter-style",
},
},
"webhooks": {
"description": "Webhooks allow you to describe out of band requests that may be initiated by your users.",
"locations": [],
"present": false,
"url": {
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#user-content-oaswebhooks",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#user-content-oaswebhooks",
},
},
"xml": {
Expand All @@ -132,8 +132,8 @@ exports[`#analyzeOas > should analyze an OpenAPI definition 1`] = `
],
"present": true,
"url": {
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#xml-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#xml-object",
"3.0": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#xml-object",
"3.1": "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#xml-object",
},
},
},
Expand Down
30 changes: 15 additions & 15 deletions dist-gha/commands.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions dist-gha/run.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion documentation/commands/autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ EXAMPLES
$ rdme autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.11/src/commands/autocomplete/index.ts)_
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.16/src/commands/autocomplete/index.ts)_
2 changes: 1 addition & 1 deletion documentation/commands/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ DESCRIPTION
Display help for rdme.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.18/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.20/src/commands/help.ts)_
Loading

0 comments on commit 8201352

Please sign in to comment.