{"_id":"@autorest/openapi-to-cadl","_rev":"15-a0a1d9b04c3fd9f66561cd3b94e08ede","name":"@autorest/openapi-to-cadl","dist-tags":{"latest":"0.6.0","next":"0.6.0-dev.1"},"versions":{"0.1.0":{"name":"@autorest/openapi-to-cadl","version":"0.1.0","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.0","@autorest/codemodel":"~4.19.2","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@azure-tools/cadl-python":"^0.4.10","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.20.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.1.0.tgz","_id":"@autorest/openapi-to-cadl@0.1.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-pOdEbZTtVBGlvHtWc5hLxktcpDzffNWAuNXbD3DC4f/QBeKQB86poHOd1nsZcLj8rbrIgqTFyPQkJVq0/fm4Zg==","shasum":"8c08860f98ff51ea8354fa4131aa61150e71d495","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.1.0.tgz","fileCount":188,"unpackedSize":219972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClzAjvgCR79O82ESnZmiO6bmes7oJqlcZyuVEtBFZv1wIgb6/7cTpnzBwzQaHPRr0yD7TNh9UtPgsFse9MWf9IgDA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeClzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAwA/+NPO2gQsixJploSMf6WKZx2mOA8IHDljyB7i5sqqvFTHTiD1L\r\nEAkxDYNqoNQ4w4ATPuOIgp5O4iJTJS42Ew1gSpHYIRDQqrcxqwr7inZgbaPi\r\nLTOboQElzjmRGtVvPXBsT3amQB0xXVKKIM6hV1xkXtDb/vQ87Cp08tb6kbm/\r\nXMLtoNBTKujTU/K7I4GeJ6K8YhLbKY4ced2ht43JW6ytVn8yVXkeme9e4iJY\r\n2IiL9W4OEZIQE+d+aqRhYG0t9PTA6lFe/iYOIexuQZGup4zcmxxVZZZ2+3yr\r\n334ZlSo+5BIEFbBCwGwibjM/sP9fYQjVy+UQaFGfXyQEGhXLVxPRij5m/6RL\r\nOavlaifYHFbUULe1x3XpPhoaM6dNxWodSTTv6nT1x9/0+PnoEKFapq8uyjPR\r\nhcXf6byFXaEBjtG9TJjb+q2TD6rnYhEKKLuQiRMzp+cW3jANwVB3GTkgw/41\r\nBoV7NxnHbBdQmuUhDj3/gsqUuiVqOibsiUnqtU1xYB65nyzWFu1ik0VDqUeG\r\nBbyzsauwlKcF+W03qJVJWMl1urfdGHMSNAECZF0fksPFonbcGy52keN4JpV8\r\nSfPcpVjxTXC2cGDWYYy/0kURCEHD3OlNm52C5zDxmSdr/HPEUsM+h496ostA\r\nyhnEE+Wc/govJHvgEY8XABodZeJ0g8pmj/g=\r\n=hwne\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.1.0_1668819315340_0.6681470665679117"},"_hasShrinkwrap":false},"0.1.1-dev.1":{"name":"@autorest/openapi-to-cadl","version":"0.1.1-dev.1","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.1-dev.1","@autorest/codemodel":"~4.19.3-dev.1","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@azure-tools/cadl-python":"^0.4.10","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.20.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new CADL definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> -namespace=<namespace> --title=\"<ProjectName>\" --clear-output-folder=false\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md\n```\n\nThis plugin will generate the following files\n\nmain.cadl - Entry point of the CADL project, it contains service information\nmodels.cadl - Contains all the model definitions\nroutes.cadl - Contains all the resource endpoints\ncadl-project.yaml - Contains configuration for the CADL compiler\npackage.json - Configuration of the CADL project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: true\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.1.1-dev.1.tgz","_id":"@autorest/openapi-to-cadl@0.1.1-dev.1","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-7RuOcVW0YGI8cbzrIFWxfvTSF8X6lKI8wFgqJdEjMwzUprqCqPugxop8u+HjNGrrFkCaObaZRrifSIPVW4TURA==","shasum":"264dc8321309889f50682ac08a05add3eb045a53","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.1.1-dev.1.tgz","fileCount":188,"unpackedSize":219990,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQT2bOgSVcERrhiIfNacni+K2deyjFLqSqa5EqpyLL9AIgFpiejE4mi9bjPOsIehMEFs4ZiVF12NJ+RCnV3xbg4SI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeCqrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFfQ//ZIqHggqezq30TyP23TR7fN3dwXNOxOIrOobyXQYtuAiXddBM\r\nOe3cZO9D9piIkWfJQ47BN2Oju/uVC66fA8m8qfF2PigH8pVm+euoTpgBCouY\r\n0A/XS01Hc/D8oYQKXorW2yX7U0D3pmJcICjrLip79lnOnsL9WqLbUhQ3wiCp\r\n6Ib8LTV3kzVhf8nnJ07W3tgeXbW8NtoI+U2uiC0LuQKi1Asa3ElR61rQdXOC\r\nKsfInAbqYBW25QXLoYMPgmzkHSBHTJtHHCl1nr0sIXbNjZavdCEDVGiNSvmN\r\nRa3I4LqNnVpn56FNai2c9pQPYgFQt8qHLieI2PbwntoIGf2szcERWD6ej5pl\r\neFxX7pTsNjtMFkp1NEaEhZIj9QEDaHavU8xO9Nff2k5TAIKi/DkW12dF82j3\r\nxS8D9eafnVW2f+/OXH2Q6vGubpUZC+8rV1HuvBbT9vGjY0akRrBhPtOXs9z5\r\nsa98AYKAs2BFJc61qtBqfWda9IF2HvC6gz+8OL9rgWDRUyirnhTQ55YRwsX1\r\n+oAjcBRibsIR4tPMiYMDeMDN1LNYKhxsuMCISEUp0RksErE36AyJ28H/ldmU\r\nU6B96+FBD69dR+WlPvwJGNOKU/2w/R5ivwZJZflv0sl59iUe4PbMQMKU+ooY\r\nLBKM0JS3Pq7xvF32Hd7DO9oX5fawShp4+Jw=\r\n=TyDp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.1.1-dev.1_1668819626922_0.24291128976977072"},"_hasShrinkwrap":false},"0.2.0-dev.2":{"name":"@autorest/openapi-to-cadl","version":"0.2.0-dev.2","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.1-dev.1","@autorest/codemodel":"~4.19.3-dev.1","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@azure-tools/cadl-python":"^0.4.10","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.22.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new CADL definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> -namespace=<namespace> --title=\"<ProjectName>\" --clear-output-folder=false\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md\n```\n\nThis plugin will generate the following files\n\nmain.cadl - Entry point of the CADL project, it contains service information\nmodels.cadl - Contains all the model definitions\nroutes.cadl - Contains all the resource endpoints\ncadl-project.yaml - Contains configuration for the CADL compiler\npackage.json - Configuration of the CADL project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: true\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.2.0-dev.2.tgz","_id":"@autorest/openapi-to-cadl@0.2.0-dev.2","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-ZHgcy72zVFIYPdyfAD2m5kNWv9jsS+a3JgAXbc/7dFYXI2/JVeduD1jz4YkaELkpCm7CZakhH2L3vV0V/eY2Cw==","shasum":"04ac177bff723cced70ed2acacbcec525fa45218","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.2.0-dev.2.tgz","fileCount":188,"unpackedSize":220580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/RHeQJfg5BI7/ZxTPLqaqQPkTkPlqmlBI/g511KI79AIgJwnHrdKzkoL63c2GM1dAU3oSPYgpNlvf1Od5ln5WQkY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfkzrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqYA//X+tFQ18iCmbm6Dme7K80Tt+bM5P07uKZ0pU2Y0YdqX46o72I\r\nwLUXyT0zF0Zc5tLk4v3GnulQhQVfhQaeQ3A4+N6OhNMJHPSx7JzTYBfe7RRt\r\nNAYlB3u1QFiNPb1mmgT7jBnjIm3dax+Da62k1RV/GbbrxOIUpH9ZlMzOarOj\r\nbJa4YzkVQXbnyhBZ35q+dbR4a2McP111vgoHdZ256rimFRvaZEYm9blDMKMG\r\npWqKSJ+HFxUGgR5egCkt75pAgkUc4k3KJrMUV6Mjq1ijU2s1Zr6RUCzmL9ro\r\n57c5nSZRrdkhHRhFPmLulaiC6tbNEwAOeIVjnNHUI7afb9dfgeqb/rBxn/0X\r\ntslAqVXka3e5AwUCU8juD2DRIhI9Eh49MEnWVw6k/2oQmhQ9l36gJ03kS/ue\r\nrjcU20UUr9A5Lb7G0ID7A724aJ/ctbSsOLQdFIi/5uP4B0NiSH+H9ZygTPpn\r\nV4m3m2NJu9eFQfUbkAuABtfDio9pF6Qk0DpaLgjWMM0twkTK6eLDJaw7Bg+2\r\nB6W8+7LT6KVRQgkxVf0/1jGe9R9wkFQo2UvKv/OWBAxpyZdn8yaNRgHexyWM\r\nYcCY5RuiPKZZFEqdjI9PgMTQ/YEXHDH6aj4dsp912+Gpra6sMTnLfmA8fPDW\r\nzulHHuzndaGQVBeJh9zzezqdZ1NJDca14pU=\r\n=Tglk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.2.0-dev.2_1669221611059_0.7271436530731104"},"_hasShrinkwrap":false},"0.2.0":{"name":"@autorest/openapi-to-cadl","version":"0.2.0","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@azure-tools/cadl-python":"^0.4.10","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.22.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.2.0.tgz","_id":"@autorest/openapi-to-cadl@0.2.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.18","dist":{"integrity":"sha512-lhx4/+3/WwvZTesjFlWHcOML+MrWXWcFiwP4OvWwvKyI0bQGAcXfAQ3fPOp/zvF+AJ9wJ2ojbdfCmlhlKw5iDQ==","shasum":"02949762548ec508fa380dddc5b3e8493df827ac","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.2.0.tgz","fileCount":188,"unpackedSize":220654,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAJ69zN4Q7QEVafarE8QgLqrW7WwVzB4Ekj9oHDD+qVAIhANrLKBTUt4YutNf/Sh+ihrSNlpegFGp1i0kczvymiAPF"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtaarACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8NhAAkyuK1C3epnhxPLSaapeDUlEw1U4S9myOh9rexu63iYslvc/m\r\nWSCRHHSUcGbVzEupgm5D6CQtAR1GchVxBVlQvqhoKtbhTZIV0kFsvhPO9R4Z\r\n1YEJm3gjxJqyQU3rPrwcEQrA7k09vbHWEVWQutoNhNHm4N4RNZjtHEeGoSp+\r\nnOBKqRLBr8VAvkqfKVqb5wHtbeQRlfJ268e9AKzFZ6D6iCsd0ppbiADSW3lN\r\nhVvTjSW4WbNboy9+CGlk5CjGgwtMxvTnwP0Set+h2mJbQx+oCEdlzmV/UKZF\r\n2SzMCq3VRst8fLFzQ4Vuww4uv5TRheoi7vcmJ3GdclFJh5TTgibGYinHPgmH\r\nUQa3KGcZH4gmAeN2c46RWWDFa7gE7m8kRcI8vAZUav3Mhu0C6qZ5XRnRZypx\r\nkoLxxr7LVcesQeeryZvCpotmERcAlRhXdWSA5ioTt8st645IPEPd/72RZwH0\r\np1Pj56zgnU+aRD4+8woLQ6VJYj3Uzrfrypq/7FmpLGcbV+V2yl1eGGHUGEVb\r\n+wH8Z3S55VZPW7iA0tS73iO5N/GH1bolz2AnOi7ahQXh1bz1WxdikP8YoS6T\r\nPIAewH8BYivt3voUk9zF6HuV/B1tOtsCOKpJtwODcZ7lGyAssK86MvD9IVZg\r\nS41+32Oqg6XAi+T+mPsfnG59qBLEw5K/AvM=\r\n=Drvq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.2.0_1672849067455_0.6192772761053698"},"_hasShrinkwrap":false},"0.2.1-dev.1":{"name":"@autorest/openapi-to-cadl","version":"0.2.1-dev.1","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.22.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new CADL definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> -namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next\n```\n\nThis plugin will generate the following files\n\nmain.cadl - Entry point of the CADL project, it contains service information\nmodels.cadl - Contains all the model definitions\nroutes.cadl - Contains all the resource endpoints\ncadl-project.yaml - Contains configuration for the CADL compiler\npackage.json - Configuration of the CADL project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: true\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.2.1-dev.1.tgz","_id":"@autorest/openapi-to-cadl@0.2.1-dev.1","_nodeVersion":"14.21.1","_npmVersion":"6.14.18","dist":{"integrity":"sha512-qkXaGgEFhU7xKjwtwd4Zb2eoGMkCspRXSP3aMNz+jtoys4zZJjegi9bBm7hz+BC+wTbmF0Tg2/i1MpsOK/Ahvg==","shasum":"15fc604266104c5f62f694df875446caf86b14d3","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.2.1-dev.1.tgz","fileCount":188,"unpackedSize":220617,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlM3rc9CWG0G7orQQnqHZjwdxDn1wi0Hq3SQjCoZ/gvAiEA2Jq4qVBcX/SStLwqYkEdeN1NM0h22bMaGT6phDcdPNY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvHNOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoxcw//QOdyO/0ug8CF3c3bSDlRxPAczEK20WdZnf/lpwfC/UkvE1O+\r\nJStnZ/1ZnbM5UmzARNGjjNURwdHhnfV3DPFZGohysQkSvaknCIdqpRDPcgnG\r\n6cb450pOevZb4bVXpvl+gfz4Cqx6W8I/fIH7+ERVUTfaFGEZDvjG5g//Udq6\r\nmk1OP7m7S/JDFwzXZ6lWjpCPBnNIHmswEyHObHONAFOE0gUTFdZZ80HcTCpy\r\n2UJOGGro/P6UxZfwaPwNCHXt3vsgv9PeE1OnxkhVCtiEXwa8dS5R9hxstUdb\r\n1apNEsKQSUiz4uBoPtO3vwWfqDrYB9WOqrwIstoGOmq/fERzr/2utJE7FrC8\r\nc5AsqjFEBRPq6B1j2eAmMrHgp9lUQ8saXE4VA4V/xSfPvoOfn2oLy/CDI/ei\r\nQ7M5nkRi5omwoBa+Qb3iNVjBv3SAoEK40YSMO7isV234ewhoQkuq4Dixdx5C\r\nuAY0fB5U+GxPpyMcWNWZ+GxbivJfS4aV3HOsA273R56RPQ+sM3VIyR7F3WKC\r\ng5qVbZcwFHHWtfav8Zi9XYozAYyumRjGnSt6tx8uIsrayU07Z7F8l6uWNpcm\r\ntmHZ/RyUUicSP7JE8x8sF0FYky6qxGGIWJnDQ4MzDtczpCI+t4cVuxnIbDm7\r\nfmND7vI+nALsNObcVqIFOv70L/aUJXkds7I=\r\n=ukE8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.2.1-dev.1_1673294669980_0.16792015273872707"},"_hasShrinkwrap":false},"0.2.1-dev.2":{"name":"@autorest/openapi-to-cadl","version":"0.2.1-dev.2","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@cadl-lang/compiler":"^0.37.0","@cadl-lang/rest":"^0.19.0","@cadl-lang/versioning":"^0.10.0","@cadl-lang/prettier-plugin-cadl":"^0.5.17","@azure-tools/cadl-azure-core":"^0.9.0","@azure-tools/cadl-autorest":"^0.22.0","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.22.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new CADL definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.cadl - Entry point of the CADL project, it contains service information\nmodels.cadl - Contains all the model definitions\nroutes.cadl - Contains all the resource endpoints\ncadl-project.yaml - Contains configuration for the CADL compiler\npackage.json - Configuration of the CADL project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: true\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.2.1-dev.2.tgz","_id":"@autorest/openapi-to-cadl@0.2.1-dev.2","_nodeVersion":"14.21.2","_npmVersion":"6.14.18","dist":{"integrity":"sha512-THguK5k/25Xn2siHitp5Q4sMVeTz2Xo445uf324XzIqNnbf0B7OSNLQoFzH5C6eL/NpsZphaelNmm3/pRykHjQ==","shasum":"32b88437b60e5f97df72393ddc331248175c7bb2","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.2.1-dev.2.tgz","fileCount":188,"unpackedSize":221075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFdYwS1sjYuhr02d9lptPDuIGM5aCsPPvichpZK2EsiAIhAPOMsgnggLkf4f1rwVOaSnHUyrqjgEcVwtRLKNOrTI9c"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3a5hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmosvg//ci/gGNPCaYw/+d2XbPIFmuC6rSEYCT7P66ev3UGykhNHBNCE\r\nVdsnrHFMsKqTsNe8QANgO30A1cvYkENGpHKjFYC6yoscwaDI/ihLa/nwlzU4\r\nLJ/7JLshJOVb+MN3H5UM5F5/zOGoegp81o01yeKLBUq5Td3Rs/7xSeKCiuHO\r\nqfOPT2BGJfbXFdxUOhNh332DOBvivVPCuFBRvH1/sfohLxTeJ7+CIAWKnHRD\r\nOBCwpZ97+8tvCwNtjQ2s8UeiVkDu3n1bD/X5T/azPJfVJsCVZFuR4de2P+1O\r\nKaS440QpFsx9NYsHOB1jo5qIyJ9tJCFxqH4aYKGGj3Lxqda8O+mzsS6OwXMh\r\n7emig66jvsTCJTjv3vz+AkmypcXqiZn3ajX6eQgU8M2dArwRd5eORjxzOXzo\r\n4wy+uzYkujdufEmqo2TunEF8uja3Q+lgMFeolY+4ufscpSn31tMiVlFamPLQ\r\nRo4BXwEmFaS9BIN4Tvvzw0HaovnzDvw1NpzjqmggxpnVQViLx5/3Hk/XVSQs\r\n7QKmw6qD5whOFKHCmd8ZcL6T6vpwJtf3A6cDjXOjEp5KegpuyMV4Zs9DcaTR\r\n/p+Eix5x0V7zPcS7qAJptteQUYVHQdORRhnFq8rYWNKj7piJ38dajZlXkI25\r\nVeEh7VqDRPK8FqHYJTIDOEj2E6ubvl11FcY=\r\n=SQFc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.2.1-dev.2_1675472481465_0.649318846709444"},"_hasShrinkwrap":false},"0.3.0":{"name":"@autorest/openapi-to-cadl","version":"0.3.0","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@cadl-lang/compiler":"^0.40.0","@cadl-lang/rest":"^0.40.0","@cadl-lang/versioning":"^0.40.0","@cadl-lang/prettier-plugin-cadl":"^0.40.0","@azure-tools/cadl-azure-core":"^0.26.0","@azure-tools/cadl-autorest":"^0.26.0","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.26.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.3.0.tgz","_id":"@autorest/openapi-to-cadl@0.3.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-AJIfi2iXjlaMCXaL6zn70ZhxflH+9Crry/Dcwrntdfviyc2CQ0LmFxz6/oActt010OXvmk/1sJAvCH6E24kxZA==","shasum":"ce5ce2e602ade090c237212235bf249312abba04","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.3.0.tgz","fileCount":193,"unpackedSize":241367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtmYX9chsDaja2ArZs+5SW9bBfC5rfAB+AOOvseV+GzgIhALk1Dkhjs1XOnkHArJq/Fbdw8p6N4bd1JVes3chZQRsf"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+SfbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqR0A/+P5KxhgiUxK2JXkbQF/nVmqHjWeErtSADnC8WRKcIjZggxIvk\r\nNp4PVZsn0XEJ5yLDFOhYTzyP9/GkRvVnjblGcv9Yd677Bo5QmbFvvskpXall\r\nZYJQQsw4GAUtdnadNzPK3LCNswkG8io0AVPYbPqghAWl0drD7FnSx3VTuyNt\r\nxWoWFxQjd6srPPoWJtQ/DcEer0IxYZXbgZwAqMhV2CV6HK/3GtuU1BOAzls8\r\npx7KSBxQHK+3JewzzJ0X+LhWbiD+oqGvhki1wrWrpZ6bsCYLQLrYDifUeGaZ\r\nZNWCLikcYl2iZW84zXdlssO1xkx9P4edkPL4+rCuR7ovU2c2Dx7SVcmZMF8H\r\nDudwpgML1rUzEYbrrjW6LTN7sNEaiIWdDiCE0YX080o8N6+AQli6Aay5agku\r\nKJyg7PElnzNOGj9NEAodth/F9n5LHSeH4UNlkmoavshj4z1HdsCE5tkv9zQf\r\n046r+ab+IkSFzb2ZBWa/2jgLRIRAa5g8hZ4QPX++uPjgeYNz1G68udCco/T6\r\nhQKab0MHVo3zFk6cdBBCADs+rOfBH/MXjQzbrIdMhK4tXI7yA0aZF3x7dZBI\r\n0qGb9CDX70qVTIK555vj/nHTabRceTG2wZxshl+oXqarbR4/emb9FNlc/lDS\r\nJXTRSRpun9uU65tUK50zWLSm1DbYi0AWd5I=\r\n=Qsa7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.3.0_1677273050914_0.49234430133025775"},"_hasShrinkwrap":false},"0.4.0-dev.3":{"name":"@autorest/openapi-to-cadl","version":"0.4.0-dev.3","description":"Autorest plugin to scaffold a CADL definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","cadl"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@cadl-lang/compiler":"^0.40.0","@cadl-lang/rest":"^0.40.0","@cadl-lang/versioning":"^0.40.0","@cadl-lang/prettier-plugin-cadl":"^0.40.0","@azure-tools/cadl-azure-core":"^0.26.0","@azure-tools/cadl-autorest":"^0.26.0","@cadl-lang/openapi":"^0.11.0","@cadl-lang/openapi3":"^0.14.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/cadl-autorest":"^0.26.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new CADL definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.cadl - Entry point of the CADL project, it contains service information\nmodels.cadl - Contains all the model definitions\nroutes.cadl - Contains all the resource endpoints\ncadl-project.yaml - Contains configuration for the CADL compiler\npackage.json - Configuration of the CADL project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: false\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.4.0-dev.3.tgz","_id":"@autorest/openapi-to-cadl@0.4.0-dev.3","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-lbu0Uafp2NEuq7CcbxFky+DLGSIcE7NfTBYcrgcEOpfE/7wDMNNv51O9Cvo8v8FalXf9AGHF5N+D4KtUkZSJYA==","shasum":"5b83c6fa345d951f66deeaa028ef038e5dc1080e","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.4.0-dev.3.tgz","fileCount":193,"unpackedSize":241373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvM+5XN5okz9Gn890jdeLZVOK78cA+8hAgfke6GRa2MQIgDMVBSxID/3NYHyDjIZsbi4hVqWamf0CNxly4A69r8W8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+SkSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHtRAAlTlbp3qv0qRvlPJJRP9ZUDOM9GURBLVA2J1dtQ3MuGBbXbmw\r\nD+6gAHEmLc3WjIaqQyJePfDRLhL9J7Zx2CQ+Agf7jWAvR8eZzg+PNrwg2xrq\r\nx/dtlooSsEVjjgvAvqhBNcSucihqY1LXT9LBE9XSxucfDyZZffogEEm540Fe\r\nIlRoFts/Uj+lFZs21bWYfoh/kPTMJZB6x28XvS93Nu88yRIW/o4I6O1CimAU\r\ngw4h6/uid/+mIB+116UpJ2G2srJB+ZSipJH9/heZRGgfMwjNV6nZnifbv8QM\r\nTOFnAJwhCeMmITLfLzV5btQqzA4vDDzjy7wVXRAbYk6k6lD+dGGMzUo8wos5\r\nPbHYcECUGRCCOYYzMb5Xenwr8BqYtOWoXuSEmklTM4uFzpHMopApdhAd2hEU\r\nUi3WP3kxPzpBzAHcOMRy6i5mTkFhAsgwzpQyVaq9UnKqScW91Nuc6KMhcJm0\r\nAPOVUL85/pxd+1/Xzg6EBNZTbk1ohCNxx38aOXLbLu9OG7QCi6r4qNSGqtga\r\nHDlHHKdm25NKgYIeTnDyzkT8ieqJxD4dyTx1fTBK1p8wMriW+QMrDIX55Sgu\r\n2wf+uDT0MrtSF0kVgBkpPAlSxSouVoMfqMiG9XbhtqcxCXd3hsEpe+j82k+Q\r\nl07ZE29L8iK04312MCp8YFD7YxvknBauJXw=\r\n=emj7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.4.0-dev.3_1677273362284_0.329861803858722"},"_hasShrinkwrap":false},"0.4.0-dev.4":{"name":"@autorest/openapi-to-cadl","version":"0.4.0-dev.4","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@typespec/compiler":"^0.41.0","@typespec/rest":"^0.41.0","@typespec/http":"^0.41.0","@typespec/versioning":"^0.41.0","@typespec/prettier-plugin-typespec":"^0.41.0","@azure-tools/typespec-azure-core":"^0.27.0","@azure-tools/typespec-autorest":"^0.27.0","@typespec/openapi":"^0.41.0","@typespec/openapi3":"^0.41.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.27.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new TypeSpec definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.tsp - Entry point of the TypeSpec project, it contains service information\nmodels.tsp - Contains all the model definitions\nroutes.tsp - Contains all the resource endpoints\ntsproject.yaml - Contains configuration for the TypeSpec compiler\npackage.json - Configuration of the TypeSpec project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: false\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.4.0-dev.4.tgz","_id":"@autorest/openapi-to-cadl@0.4.0-dev.4","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-GwmeQmvOs1BFPn5gqwWB+sot9LS8Q64i/wJZTKiBXOGG9to2XkFve+tlwmkt8Rq8MpfD3iYyoiMtg3/YAJIoRA==","shasum":"353997ad898d026d080eba8e9170968f78e5d835","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.4.0-dev.4.tgz","fileCount":193,"unpackedSize":241917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVLMVl2+SanlTZzWoqFwLC0zr+FkbYUDqvc7gOtE+IXgIgFKN0ArF9iRzGyNsaur9yHswyMcBdJBzXJvV5IDuiSfI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkELl4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq66w/9ELFcEhmiXk7umkhscPf5FZkJXRvtV0+MKYbyMLqWVtTUxD+e\r\nBB+MbwvIdJH5jjfWq57pB++mkCkKgMY2RbPtI0E8Odl0Sl79Dh1/Q+Dohnl2\r\nj5Ynmz3DZHM10bkhsmk5PZON+EO+8aXg5PZEsdbS8WKnMovk/5oF+c5u+8Tr\r\nGFhIfQyeEtheOVw/7MvG8zjGjTsmqAAU64SE329Wsczh8xZhUWljrNNCw57x\r\nwbsdNS4VCzA8daQ6E938kzsqk0cAsPh1hsK7HSGpNU3MgCmI+ALtQZL1d/iy\r\nPOJzh7qs2BzbZuWmL46VqoIRv4h7ApM+WvsFNdkHJWmxVey5JKyUPsIuVyM/\r\ngz5lAozDZ9OyjXEYXU1A2OGUhJMXjNZP/rR7uWklIFLAAbn2IpobjlX7hHEi\r\nfR916oXREYb53Fu/FHGsjIhCuz6aJ26QU0nO4xyX5PmohgiRWz/dH+ft35Hx\r\nAa6aXCYHNC157ehC5pkZnQE5M1CF4PIV9mI2OVmwF6IIvY6RpP2L2gBJhRiV\r\nf1A4FSnyqMU6yOazFqmNj2J621BCpIfDm63tL769FCqbiwWwQCV+K1NS//OJ\r\nswugv8211bOvkGeTh66PH5Khf6zGY9hg2KtwYbTiZ5SgSa8CyQWQZWNqMdgS\r\nZ5Urb3ji1nm8A6+KCGB+aMQu3vlvWI9Zq3E=\r\n=xLUX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.4.0-dev.4_1678817656514_0.14742854701781605"},"_hasShrinkwrap":false},"0.4.0":{"name":"@autorest/openapi-to-cadl","version":"0.4.0","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.1","@autorest/codemodel":"~4.19.3","@typespec/compiler":"^0.41.0","@typespec/rest":"^0.41.0","@typespec/http":"^0.41.0","@typespec/versioning":"^0.41.0","@typespec/prettier-plugin-typespec":"^0.41.0","@azure-tools/typespec-azure-core":"^0.27.0","@azure-tools/typespec-autorest":"^0.27.0","@typespec/openapi":"^0.41.0","@typespec/openapi3":"^0.41.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.27.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.4.0.tgz","_id":"@autorest/openapi-to-cadl@0.4.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-m1Tt/snQJcB9GtDMgWE8z12u8ATty+lfD6l0JStlD9S5DPWZL6KQnSDV2wrp7uNpUobMxEbEzQKaqMA3Qw62BQ==","shasum":"d57c237b5a31068243d9f970638f000dba22cd1c","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.4.0.tgz","fileCount":193,"unpackedSize":241911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChKpZANUMW5oLP+3tP9sXrZjaMQM5O4LqcGjboVdYolAIgI4CwrXi4oclxQY81ZP1/4hyc63B3vXLP/nOvFd/bI/I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN409ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptuA//VN1ufM6i4Oro+01RAwYHAYmjEteivRfvokA9LKj3fdi4CpEM\r\nyxWz4acF7oGQRm+RpH7iCE0+DCubELBzIfJASv7TYibTP50CQ5NEfs/D98KR\r\noq7zk/RAvLi/EwDsRZvXKa5hk8DR55gqzAUuyX0v0j6dpaT/bfePzRtZPoIL\r\nkC1njoCFPxoXWjeHHx9RrNvYN/gcjfxhjIP8zkpmUXZd1ZcrYG/H/uz4W/yp\r\nfui0bx8XgFFZjYx+cwGtYW9T9NnhU+zAty1Rb1UFTueKX0bUJaJdiBofXwDX\r\n7KnpXp7j15vZMZ5viY0X0EFS6yAXfBvm0YMRSpg3tKi0n0w+9k7U3NI2jXCX\r\nzeE/a28E18+O/OeDx1scyyHmlcOAx84AqjI2BE1mxskGsmFHVVBxECewYqPd\r\nT8gNRDR2a8IPcR0Vty4PZycmpGtbRWdAqnuQ+v2lqwSfZe2/IXQQ0in7ktnj\r\nm512x/Ci6/+CyThDyfwPFPYnPJSTv20kiArIDXbiX5UKRvTSXlhmZu1bqDXn\r\nAFQ/DQL1aPzfu0oEiOxd9C+uAZE3msxsGClgI2F9SQIc8I18P1kuBxm7eWSv\r\nUAHj0SYPrbsyJ7TuFuW4q+J8Dn3ykgSQ5Kgn/ZQxh/8TFy7ost9F4qKdqW9b\r\nk1Y42GTxs7o60QwPqzZhSzyEq/lDrJrPGBE=\r\n=2VEL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.4.0_1681362237207_0.9403818480623392"},"_hasShrinkwrap":false},"0.4.1":{"name":"@autorest/openapi-to-cadl","version":"0.4.1","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.2","@autorest/codemodel":"~4.19.3","@typespec/compiler":"^0.44.0","@typespec/rest":"^0.44.0","@typespec/http":"^0.44.0","@typespec/versioning":"^0.44.0","@typespec/prettier-plugin-typespec":"^0.44.0","@azure-tools/typespec-azure-core":"^0.30.0","@azure-tools/typespec-autorest":"^0.30.0","@typespec/openapi":"^0.44.0","@typespec/openapi3":"^0.44.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.30.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.4.1.tgz","_id":"@autorest/openapi-to-cadl@0.4.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-cIdpkf8XV5IH1F4vwu73ECirreozLxBxj54R/f2WTNqz/1gCSSRoZfrEe1cmywDOpzC79sgORandsP2/Ab6Jxg==","shasum":"d94cc0e3f334174378838480d9f60fe9a2b8345a","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.4.1.tgz","fileCount":193,"unpackedSize":243495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbN6WDpYm4UcZ3mi2Ov+2a3WxQ4IsSgHu2E/eiUBxjyAiAToPXXyG2A4Z8LTWAuKbcjIx1JMyOnbQYfObtTNIwPiQ=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.4.1_1685115648359_0.25533325541783536"},"_hasShrinkwrap":false},"0.5.0-dev.1":{"name":"@autorest/openapi-to-cadl","version":"0.5.0-dev.1","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.2","@autorest/codemodel":"~4.19.3","@typespec/compiler":"^0.44.0","@typespec/rest":"^0.44.0","@typespec/http":"^0.44.0","@typespec/versioning":"^0.44.0","@typespec/prettier-plugin-typespec":"^0.44.0","@azure-tools/typespec-azure-core":"^0.30.0","@azure-tools/typespec-autorest":"^0.30.0","@typespec/openapi":"^0.44.0","@typespec/openapi3":"^0.44.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.30.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new TypeSpec definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.tsp - Entry point of the TypeSpec project, it contains service information\nmodels.tsp - Contains all the model definitions\nroutes.tsp - Contains all the resource endpoints\ntsproject.yaml - Contains configuration for the TypeSpec compiler\npackage.json - Configuration of the TypeSpec project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: false\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.5.0-dev.1.tgz","_id":"@autorest/openapi-to-cadl@0.5.0-dev.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-UanXHyGiQjPEZkPyZozUUnNbplYhpTDa/cF8QfZRzIuDiVdaeQV2b0m/BfRjTJsHjUjRcFv8UhX7v7iIbhr1uQ==","shasum":"f484dbd24d6f81279e23df56ddd786b83a08a9fd","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.5.0-dev.1.tgz","fileCount":193,"unpackedSize":243501,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7gt+POYaHn51C7D+NDZJKtK/p1FR79XkZNZ6aJ34q5AiB/zDgs/rFwkm24ioa/49zl73foHjxkl4daoXY2zLJSqw=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.5.0-dev.1_1685115923031_0.3396485033194734"},"_hasShrinkwrap":false},"0.5.0":{"name":"@autorest/openapi-to-cadl","version":"0.5.0","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.9.2","@autorest/extension-base":"~3.5.2","@autorest/codemodel":"~4.19.3","@typespec/compiler":"^0.44.0","@typespec/rest":"^0.44.0","@typespec/http":"^0.44.0","@typespec/versioning":"^0.44.0","@typespec/prettier-plugin-typespec":"^0.44.0","@azure-tools/typespec-azure-core":"^0.30.0","@azure-tools/typespec-autorest":"^0.30.0","@typespec/openapi":"^0.44.0","@typespec/openapi3":"^0.44.0","prettier":"~2.7.1"},"devDependencies":{"typescript":"~4.9.3","@types/prettier":"^2.7.0","@types/webpack":"~4.41.26","rimraf":"^3.0.2","ts-node":"^10.9.1","@types/node":"~14.14.20","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.30.0","webpack-cli":"~4.7.2","webpack":"~5.40.0","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint-plugin-jest":"~27.1.5","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-unicorn":"~44.0.2","eslint-plugin-import":"~2.26.0","eslint":"^8.28.0","ts-loader":"~9.2.3"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.5.0.tgz","_id":"@autorest/openapi-to-cadl@0.5.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-tlPUVma5mpy/S/M/QpB9G+dDbwZx8IEXvD4PFlQGUHGRVwrCRua9ZNQ6FEufFygvNo29mpJzihq0P0DdH2CQTQ==","shasum":"94c40628caa3e51aeb4c80c59a395125fd18c763","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.5.0.tgz","fileCount":193,"unpackedSize":243495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8yYkktRGELzeHD7qrHi/v5rQBIKk5u2cGU2p5OtIzWAiEAje4T7PZJx02FxPrg8JVtMkSIOECxhzgor2UFV02+CqU="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.5.0_1685142416411_0.93635356397839"},"_hasShrinkwrap":false},"0.6.0-dev.1":{"name":"@autorest/openapi-to-cadl","version":"0.6.0-dev.1","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.10.0-dev.1","@autorest/extension-base":"~3.6.0-dev.1","@autorest/codemodel":"~4.20.0-dev.1","@typespec/compiler":"^0.50.0","@typespec/rest":"^0.50.0","@typespec/http":"^0.50.0","@typespec/versioning":"^0.50.0","@typespec/prettier-plugin-typespec":"^0.50.0","@azure-tools/typespec-azure-core":"^0.36.0","@azure-tools/typespec-autorest":"^0.36.0","@typespec/openapi":"^0.50.0","@typespec/openapi3":"^0.50.0","prettier":"~3.1.0"},"devDependencies":{"typescript":"~5.2.2","@types/prettier":"^2.7.0","@types/webpack":"~5.28.5","rimraf":"^5.0.5","ts-node":"^10.9.1","@types/node":"~20.9.0","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.36.0","webpack-cli":"~5.1.4","webpack":"~5.89.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","eslint-plugin-jest":"~27.6.0","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~5.0.1","eslint-plugin-unicorn":"~49.0.0","eslint-plugin-import":"~2.29.0","eslint":"^8.28.0","ts-loader":"~9.5.1"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.6.0-dev.1.tgz","readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new TypeSpec definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.tsp - Entry point of the TypeSpec project, it contains service information\nmodels.tsp - Contains all the model definitions\nroutes.tsp - Contains all the resource endpoints\ntsproject.yaml - Contains configuration for the TypeSpec compiler\npackage.json - Configuration of the TypeSpec project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: false\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","readmeFilename":"README.md","_id":"@autorest/openapi-to-cadl@0.6.0-dev.1","_nodeVersion":"18.18.2","_npmVersion":"6.14.18","dist":{"integrity":"sha512-pAN/5dl9tJef8ezWSAWfTYR8tJrepLYbL7l2Ly2uji3daVhaZ0e1mSnarCIt9skgW6Rq0o8vpDYMxEVdm+C3mQ==","shasum":"4eb1771adb03880e4105e08fd3b02ff3794f1dd2","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.6.0-dev.1.tgz","fileCount":193,"unpackedSize":242115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoBa79UhVZUghvoOKrRODRcalbAeA3x4+8c/tdz0eE+AiEA/DkleEDhr1nywStFdpEpASgk5pOktKc7W4tnp8uYDkc="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.6.0-dev.1_1700107411778_0.7653516374160831"},"_hasShrinkwrap":false},"0.6.0":{"name":"@autorest/openapi-to-cadl","version":"0.6.0","description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","main":"dist/main.js","typings":"dist/main.d.ts","repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"keywords":["Autorest","TypeSpec"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/autorest/issues"},"homepage":"https://github.com/Azure/autorest#readme","dependencies":{"@azure-tools/codegen":"~2.10.0","@autorest/extension-base":"~3.6.0","@autorest/codemodel":"~4.20.0","@typespec/compiler":"^0.50.0","@typespec/rest":"^0.50.0","@typespec/http":"^0.50.0","@typespec/versioning":"^0.50.0","@typespec/prettier-plugin-typespec":"^0.50.0","@azure-tools/typespec-azure-core":"^0.36.0","@azure-tools/typespec-autorest":"^0.36.0","@typespec/openapi":"^0.50.0","@typespec/openapi3":"^0.50.0","prettier":"~3.1.0"},"devDependencies":{"typescript":"~5.2.2","@types/prettier":"^2.7.0","@types/webpack":"~5.28.5","rimraf":"^5.0.5","ts-node":"^10.9.1","@types/node":"~20.9.0","fs-extra":"^10.1.0","@types/fs-extra":"^9.0.13","chalk":"^4.1.0","@azure-tools/typespec-autorest":"^0.36.0","webpack-cli":"~5.1.4","webpack":"~5.89.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","eslint-plugin-jest":"~27.6.0","eslint-plugin-node":"~11.1.0","eslint-plugin-prettier":"~5.0.1","eslint-plugin-unicorn":"~49.0.0","eslint-plugin-import":"~2.29.0","eslint":"^8.28.0","ts-loader":"~9.5.1"},"scripts":{"generate":"ts-node ./test/utils/generate-cadl.ts generate","test":"echo \"Error: no test specified\" && exit 1","test:ci":"npm run generate && node ./test/utils/check-clean-tree.js","clean":"rimraf ./dist ./temp","start":"node --max_old_space_size=4096 ./dist/main.js","debug":"node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js","watch":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","build:prod":"webpack","lint:fix":"eslint  ./src ./test --fix --ext .ts","lint":"eslint  ./src ./test --ext .ts --max-warnings=0"},"_resolved":"","_integrity":"","_from":"file:autorest-openapi-to-cadl-0.6.0.tgz","_id":"@autorest/openapi-to-cadl@0.6.0","_nodeVersion":"18.18.2","_npmVersion":"6.14.18","dist":{"integrity":"sha512-R79qebN0ISUSF1uz2VW0htI3hIBtc8rD0t2Z1KH1r/XIHG0ZvLprNyz0EBbnAT2b1VH+Nt3HqyGZRgz4OwgX6Q==","shasum":"4a977da16903de798ce2e250fcb1c038556db0d4","tarball":"https://registry.npmjs.org/@autorest/openapi-to-cadl/-/openapi-to-cadl-0.6.0.tgz","fileCount":193,"unpackedSize":242091,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFncRQN6N8WSpCXg4UJN6GQcceLlYItzdg8mUMi0WgLLAiEAv+tMzB9KgB/y6MxtP3LKpUIrhX+eiXlKOuJ5z/8lHoc="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-powershell","email":"xidi@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-to-cadl_0.6.0_1700153947782_0.25247150300666155"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-19T00:55:15.281Z","0.1.0":"2022-11-19T00:55:15.582Z","modified":"2024-04-04T17:19:40.265Z","0.1.1-dev.1":"2022-11-19T01:00:27.135Z","0.2.0-dev.2":"2022-11-23T16:40:11.299Z","0.2.0":"2023-01-04T16:17:47.672Z","0.2.1-dev.1":"2023-01-09T20:04:30.245Z","0.2.1-dev.2":"2023-02-04T01:01:21.706Z","0.3.0":"2023-02-24T21:10:51.094Z","0.4.0-dev.3":"2023-02-24T21:16:02.456Z","0.4.0-dev.4":"2023-03-14T18:14:16.767Z","0.4.0":"2023-04-13T05:03:57.443Z","0.4.1":"2023-05-26T15:40:48.618Z","0.5.0-dev.1":"2023-05-26T15:45:23.323Z","0.5.0":"2023-05-26T23:06:56.628Z","0.6.0-dev.1":"2023-11-16T04:03:31.976Z","0.6.0":"2023-11-16T16:59:08.048Z"},"maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"xidi@microsoft.com","name":"azure-powershell"},{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"}],"description":"Autorest plugin to scaffold a Typespec definition from an OpenAPI document","homepage":"https://github.com/Azure/autorest#readme","keywords":["Autorest","TypeSpec"],"repository":{"type":"git","url":"git+https://github.com/Azure/autorest.git"},"author":{"name":"Microsoft Corporation"},"bugs":{"url":"https://github.com/Azure/autorest/issues"},"license":"MIT","readme":"## Autorest openapi-to-cadl Plugin Configuration\n\nAutorest extension to scaffold a new TypeSpec definition from an existing OpenApi document.\n\nTo run it\n\n```bash\nautorest --openapi-to-cadl --input-file=<path-to-swagger> --namespace=<namespace> --title=\"<ProjectName>\" --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nor with a README config file\n\n```bash\nautorest --openapi-to-cadl --require=<path-to-readme-config>.md --use=@autorest/openapi-to-cadl@next --output-folder=.\n```\n\nThis plugin will generate the following files\n\nmain.tsp - Entry point of the TypeSpec project, it contains service information\nmodels.tsp - Contains all the model definitions\nroutes.tsp - Contains all the resource endpoints\ntsproject.yaml - Contains configuration for the TypeSpec compiler\npackage.json - Configuration of the TypeSpec project\n\n```yaml\nversion: 3.6.6\nuse-extension:\n  \"@autorest/modelerfour\": \"^4.23.5\"\n\nmodelerfour:\n  # this runs a pre-namer step to clean up names\n  prenamer: false\n\nopenapi-to-cadl-scope/emitter:\n  input-artifact: openapi-to-cadl-files\n\noutput-artifact: openapi-to-cadl-files\n\npipeline:\n  openapi-to-cadl: # <- name of plugin\n    input: modelerfour/identity\n    output-artifact: openapi-to-cadl-files\n\n  openapi-to-cadl/emitter:\n    input: openapi-to-cadl\n    scope: openapi-to-cadl-scope/emitter\n```\n","readmeFilename":"README.md"}