Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
fix: issue where polymorphism titles in refs wouldn't be surfaced (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Aug 27, 2020
1 parent dcf0258 commit f3becfe
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions example/swagger-files/polymorphism.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@
}
},
"Dog": {
"title": "Woof",
"allOf": [
{
"$ref": "#/components/schemas/Pet"
Expand All @@ -405,6 +406,7 @@
]
},
"Cat": {
"title": "Meow",
"type": "object",
"allOf": [
{
Expand Down
6 changes: 3 additions & 3 deletions packages/api-explorer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/api-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@readme/oas-extensions": "^7.1.0",
"@readme/oas-to-har": "^7.1.0",
"@readme/oas-to-snippet": "^7.1.1",
"@readme/oas-tooling": "^3.5.10",
"@readme/oas-tooling": "^3.5.11",
"@readme/react-jsonschema-form": "^1.2.0",
"@readme/syntax-highlighter": "^7.1.0",
"@readme/variable": "^7.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/oas-to-har/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/oas-to-har/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/index.js",
"dependencies": {
"@readme/oas-extensions": "^7.1.0",
"@readme/oas-tooling": "^3.5.10",
"@readme/oas-tooling": "^3.5.11",
"parse-data-url": "^2.0.0"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/oas-to-snippet/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/oas-to-snippet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@readme/eslint-config": "^3.2.0",
"@readme/oas-examples": "^3.4.0",
"@readme/oas-tooling": "^3.5.10",
"@readme/oas-tooling": "^3.5.11",
"datauri": "^3.0.0",
"eslint": "^7.0.0",
"jest": "^26.0.1",
Expand Down

0 comments on commit f3becfe

Please sign in to comment.