Add FIXME

This commit is contained in:
Kyle Shockey
2017-12-07 13:40:20 -08:00
parent 328f02c463
commit a7e71d8117

View File

@@ -120,6 +120,11 @@ export default class Operations extends React.Component {
const path = op.get("path")
const method = op.get("method")
// FIXME: (someday) this logic should probably be in a selector,
// but doing so would require further opening up
// selectors to the plugin system, to allow for dynamic
// overriding of low-level selectors that other selectors
// rely on. --KS, 12/17
const validMethods = specSelectors.isOAS3() ?
OAS3_OPERATION_METHODS : SWAGGER2_OPERATION_METHODS