diff --git a/lib/csdl2openapi.js b/lib/csdl2openapi.js index 728bf4e9..da3f0637 100644 --- a/lib/csdl2openapi.js +++ b/lib/csdl2openapi.js @@ -1,7 +1,7 @@ /** * Converts OData CSDL JSON to OpenAPI 3.0.2 * - * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/master/lib/csdl2openapi.js + * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/main/lib/csdl2openapi.js */ const { EDM, nameParts } = require("./edm"); diff --git a/lib/diagram.js b/lib/diagram.js index 57cbf39a..346163fb 100644 --- a/lib/diagram.js +++ b/lib/diagram.js @@ -1,14 +1,10 @@ /** * Resource diagram for an OData model using https://yuml.me * - * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/master/lib/edm.js + * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/main/lib/edm.js */ -const { isIdentifier, nameParts } = require("./edm"); - -{ - isIdentifier; -} +const { nameParts } = require("./edm"); module.exports = { resourceDiagram }; diff --git a/lib/edm.js b/lib/edm.js index 2211b673..67196524 100644 --- a/lib/edm.js +++ b/lib/edm.js @@ -1,7 +1,7 @@ /** * Entity Data Model for OData * - * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/master/lib/edm.js + * Latest version: https://github.com/oasis-tcs/odata-openapi/blob/main/lib/edm.js */ module.exports = { nameParts };