Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/core/plugins/oas3/components/callbacks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const Callbacks = (props) => {
return <span>No callbacks</span>
}

let callbackElements = callbacks.map((callback, callbackName) => {
let callbackElements = callbacks.entrySeq().map(([callbackName, callback]) => {
return <div key={callbackName}>
<h2>{callbackName}</h2>
{ callback.map((pathItem, pathItemName) => {
{ callback.entrySeq().map(([pathItemName, pathItem]) => {
if(pathItemName === "$$ref") {
return null
}
return <div key={pathItemName}>
{ pathItem.map((operation, method) => {
{ pathItem.entrySeq().map(([method, operation]) => {
if(method === "$$ref") {
return null
}
Expand Down