api-spec-converter
Version:
Convert API descriptions between popular formats such as OpenAPI(fka Swagger), RAML, API Blueprint, WADL, etc.
1 lines • 22.7 kB
JavaScript
webpackJsonp([2],{0:function(l,n,u){l.exports=u("x35b")},"6GLz":function(l,n){function u(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}u.keys=function(){return[]},u.resolve=u,l.exports=u,u.id="6GLz"},x35b:function(l,n,u){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=u("3j3K"),t=function(){return function(){}}(),o=function(){function l(){}return l.ctorParameters=function(){return[]},l}(),r=u("2Je8"),a=function(){function l(l){this.platformId=l}return l.prototype.isBrowser=function(){return Object(r.isPlatformBrowser)(this.platformId)},l.prototype.isServer=function(){return Object(r.isPlatformServer)(this.platformId)},l.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]}]},l}(),i=u("lDdF"),s=function(){function l(l){this.platform=l,this.formats=[],this.skipFormats=["api_blueprint"],this.destinationFormats=["swagger_2","openapi_3"],this.formatLabels={swagger_1:"Open API 1.x (Swagger)",swagger_2:"Open API 2.0 (Swagger)",openapi_3:"Open API 3.0",io_docs:"I/O Docs",api_blueprint:"API Blueprint",google:"Google Discovery",raml:"RAML",wadl:"WADL"},this.examples=[{from:"swagger_1",source:"https://raw.githubusercontent.com/LucyBot-Inc/api-spec-converter/master/test/input/swagger_1/petstore/index.json"},{from:"swagger_2",to:"openapi_3",source:"https://api.apis.guru/v2/specs/bufferapp.com/1/swagger.json"},{from:"wadl",source:"https://api.apigee.com/v1/consoles/facebook/apidescription?format=wadl"},{from:"raml",source:"https://raw.githubusercontent.com/raml-apis/XKCD/master/api.raml"},{from:"google",source:"https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest"},{from:"io_docs",source:"https://raw.githubusercontent.com/lucybot/api-spec-converter/master/test/input/io_docs/foursquare.json"}],this.setExample(this.examples[0]),this.platform.isBrowser()&&(this.formats=Object.keys(APISpecConverter.Formats))}return l.prototype.stringify=function(l){return JSON.stringify(l,null,2)},l.prototype.setExample=function(l){this.convertFrom=l.from,this.convertTo=l.to||"swagger_2",this.convertSource=l.source},l.prototype.convert=function(){var l=this;this.error=this.spec=null,this.running=!0,APISpecConverter.convert({from:this.convertFrom,to:this.convertTo,source:this.convertSource}).then(function(n){return l.spec=n.spec},function(n){l.error=n,console.log(n)}).then(function(n){return l.running=!1})},l.prototype.download=function(){var l=new Blob([this.stringify(this.spec)],{type:"application/json;charset=utf-8"});Object(i.saveAs)(l,"swagger.json")},l.ctorParameters=function(){return[{type:a}]},l}(),d=u("NVOs"),c=e["\u0275crt"]({encapsulation:0,styles:['button[type="submit"][_ngcontent-%COMP%] {\n margin-top: 12px;\n float: right;\n }\n\n .output-spec[_ngcontent-%COMP%] {\n margin-top: 50px;\n }'],data:{}});function p(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,3,"li",[],null,null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;"click"===n&&(e=!1!==t.setExample(l.context.$implicit)&&e);return e},null,null)),(l()(),e["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](3,null,["",""]))],null,function(l,n){l(n,3,0,n.component.formatLabels[n.context.$implicit.from]||n.context.$implicit.from)})}function m(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,2,"li",[],[[8,"hidden",0]],null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,1,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;"click"===n&&(e=!1!==(t.convertFrom=l.context.$implicit)&&e);return e},null,null)),(l()(),e["\u0275ted"](2,null,["",""]))],null,function(l,n){var u=n.component;l(n,0,0,-1!==u.skipFormats.indexOf(n.context.$implicit)),l(n,2,0,u.formatLabels[n.context.$implicit]||n.context.$implicit)})}function f(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,2,"li",[],[[8,"hidden",0]],null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,1,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;"click"===n&&(e=!1!==(t.convertTo=l.context.$implicit)&&e);return e},null,null)),(l()(),e["\u0275ted"](2,null,["",""]))],null,function(l,n){var u=n.component;l(n,0,0,-1!==u.skipFormats.indexOf(n.context.$implicit)||n.context.$implicit===u.convertFrom),l(n,2,0,u.formatLabels[n.context.$implicit]||n.context.$implicit)})}function g(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,0,"span",[["class","fa fa-exchange"]],null,null,null,null,null)),(l()(),e["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["\xa0Convert!"]))],null,null)}function v(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,0,"span",[["class","fa fa-spin fa-refresh"]],null,null,null,null,null))],null,null)}function h(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,5,"div",[["class","alert alert-danger"]],null,null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),e["\u0275ted"](2,null,["",""])),(l()(),e["\u0275eld"](3,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),e["\u0275eld"](4,0,null,null,1,"a",[["href","https://github.com/lucybot/api-spec-converter/issues/new"],["target","_blank"]],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Open an issue on GitHub"]))],null,function(l,n){l(n,2,0,n.component.error)})}function b(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,13,"div",[["class","output-spec"]],null,null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(l()(),e["\u0275eld"](2,0,null,null,3,"div",[["class","col-xs-9"]],null,null,null,null,null)),(l()(),e["\u0275eld"](3,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),e["\u0275eld"](4,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](5,null,["Converted to ","."])),(l()(),e["\u0275eld"](6,0,null,null,5,"div",[["class","col-xs-3 text-right"]],null,null,null,null,null)),(l()(),e["\u0275eld"](7,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),e["\u0275eld"](8,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,u){var e=!0,t=l.component;"click"===n&&(e=!1!==t.download()&&e);return e},null,null)),(l()(),e["\u0275eld"](9,0,null,null,0,"span",[["class","fa fa-left fa-download"]],null,null,null,null,null)),(l()(),e["\u0275eld"](10,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Download"])),(l()(),e["\u0275eld"](12,0,null,null,1,"pre",[],null,null,null,null,null)),(l()(),e["\u0275ted"](13,null,["",""]))],null,function(l,n){var u=n.component;l(n,5,0,u.formatLabels[u.convertTo]||u.convertTo),l(n,13,0,u.stringify(u.spec))})}function w(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,54,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var t=!0,o=l.component;"submit"===n&&(t=!1!==e["\u0275nov"](l,2).onSubmit(u)&&t);"reset"===n&&(t=!1!==e["\u0275nov"](l,2).onReset()&&t);"submit"===n&&(t=!1!==o.convert()&&t);return t},null,null)),e["\u0275did"](1,16384,null,0,d["\u0275bf"],[],null,null),e["\u0275did"](2,16384,null,0,d.NgForm,[[8,null],[8,null]],null,null),e["\u0275prd"](2048,null,d.ControlContainer,null,[d.NgForm]),e["\u0275did"](4,16384,null,0,d.NgControlStatusGroup,[d.ControlContainer],null,null),(l()(),e["\u0275eld"](5,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),e["\u0275eld"](6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Specification URL"])),(l()(),e["\u0275eld"](8,0,null,null,14,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),e["\u0275eld"](9,0,null,null,5,"input",[["class","form-control"],["name","source"],["placeholder","Source URL"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var t=!0,o=l.component;"input"===n&&(t=!1!==e["\u0275nov"](l,10)._handleInput(u.target.value)&&t);"blur"===n&&(t=!1!==e["\u0275nov"](l,10).onTouched()&&t);"compositionstart"===n&&(t=!1!==e["\u0275nov"](l,10)._compositionStart()&&t);"compositionend"===n&&(t=!1!==e["\u0275nov"](l,10)._compositionEnd(u.target.value)&&t);"ngModelChange"===n&&(t=!1!==(o.convertSource=u)&&t);return t},null,null)),e["\u0275did"](10,16384,null,0,d.DefaultValueAccessor,[e.Renderer2,e.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),e["\u0275prd"](1024,null,d.NG_VALUE_ACCESSOR,function(l){return[l]},[d.DefaultValueAccessor]),e["\u0275did"](12,671744,null,0,d.NgModel,[[2,d.ControlContainer],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),e["\u0275prd"](2048,null,d.NgControl,null,[d.NgModel]),e["\u0275did"](14,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(l()(),e["\u0275eld"](15,0,null,null,7,"div",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),e["\u0275eld"](16,0,null,null,3,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),e["\u0275eld"](17,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Examples"])),(l()(),e["\u0275eld"](19,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),e["\u0275eld"](20,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),e["\u0275and"](16777216,null,null,1,null,p)),e["\u0275did"](22,802816,null,0,r.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),e["\u0275eld"](23,0,null,null,31,"div",[["class","row"]],null,null,null,null,null)),(l()(),e["\u0275eld"](24,0,null,null,11,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),e["\u0275eld"](25,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),e["\u0275eld"](26,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Source Format"])),(l()(),e["\u0275eld"](28,0,null,null,7,"div",[["class","dropdown"]],null,null,null,null,null)),(l()(),e["\u0275eld"](29,0,null,null,3,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),e["\u0275eld"](30,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](31,null,["",""])),(l()(),e["\u0275eld"](32,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),e["\u0275eld"](33,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),e["\u0275and"](16777216,null,null,1,null,m)),e["\u0275did"](35,802816,null,0,r.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),e["\u0275eld"](36,0,null,null,11,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),e["\u0275eld"](37,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),e["\u0275eld"](38,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Destination Format"])),(l()(),e["\u0275eld"](40,0,null,null,7,"div",[["class","dropdown"]],null,null,null,null,null)),(l()(),e["\u0275eld"](41,0,null,null,3,"button",[["aria-expanded","false"],["aria-haspopup","true"],["class","btn btn-default dropdown-toggle"],["data-toggle","dropdown"],["type","button"]],null,null,null,null,null)),(l()(),e["\u0275eld"](42,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](43,null,["",""])),(l()(),e["\u0275eld"](44,0,null,null,0,"i",[["class","fa fa-right fa-caret-down"]],null,null,null,null,null)),(l()(),e["\u0275eld"](45,0,null,null,2,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(l()(),e["\u0275and"](16777216,null,null,1,null,f)),e["\u0275did"](47,802816,null,0,r.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),e["\u0275eld"](48,0,null,null,6,"div",[["class","col-xs-12 col-sm-4"]],null,null,null,null,null)),(l()(),e["\u0275eld"](49,0,null,null,5,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),e["\u0275eld"](50,0,null,null,4,"button",[["class","btn btn-lg btn-success"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(l()(),e["\u0275and"](16777216,null,null,1,null,g)),e["\u0275did"](52,16384,null,0,r.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["\u0275and"](16777216,null,null,1,null,v)),e["\u0275did"](54,16384,null,0,r.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["\u0275and"](16777216,null,null,1,null,h)),e["\u0275did"](56,16384,null,0,r.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["\u0275and"](16777216,null,null,1,null,b)),e["\u0275did"](58,16384,null,0,r.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,12,0,"source",u.convertSource),l(n,22,0,u.examples),l(n,35,0,u.formats),l(n,47,0,u.destinationFormats),l(n,52,0,!u.running&&u.platform.isBrowser()),l(n,54,0,u.running||!u.platform.isBrowser()),l(n,56,0,u.error),l(n,58,0,u.spec)},function(l,n){var u=n.component;l(n,0,0,e["\u0275nov"](n,4).ngClassUntouched,e["\u0275nov"](n,4).ngClassTouched,e["\u0275nov"](n,4).ngClassPristine,e["\u0275nov"](n,4).ngClassDirty,e["\u0275nov"](n,4).ngClassValid,e["\u0275nov"](n,4).ngClassInvalid,e["\u0275nov"](n,4).ngClassPending),l(n,9,0,e["\u0275nov"](n,14).ngClassUntouched,e["\u0275nov"](n,14).ngClassTouched,e["\u0275nov"](n,14).ngClassPristine,e["\u0275nov"](n,14).ngClassDirty,e["\u0275nov"](n,14).ngClassValid,e["\u0275nov"](n,14).ngClassInvalid,e["\u0275nov"](n,14).ngClassPending),l(n,31,0,u.formatLabels[u.convertFrom]||u.convertFrom),l(n,43,0,u.formatLabels[u.convertTo]||u.convertTo),l(n,50,0,u.running||!u.platform.isBrowser())})}e["\u0275ccf"]("spec-converter",s,function(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,1,"spec-converter",[],null,null,null,w,c)),e["\u0275did"](1,49152,null,0,s,[a],null,null)],null,null)},{},{},[]);var C=function(){function l(){this.githubLink="https://github.com/LucyBot-Inc/api-spec-converter"}return l.ctorParameters=function(){return[]},l}(),I=e["\u0275crt"]({encapsulation:0,styles:["h1[_ngcontent-%COMP%] {\n margin-bottom: 50px;\n }\n .social-buttons[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n }\n .social-buttons[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%] {\n font-size: 18px;\n }\n spec-converter[_ngcontent-%COMP%] {\n display: block;\n margin-top: 50px;\n }"],data:{}});function y(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(l()(),e["\u0275eld"](1,0,null,null,29,"div",[["class","col-xs-12 col-md-10 col-md-offset-1"]],null,null,null,null,null)),(l()(),e["\u0275eld"](2,0,null,null,11,"h1",[],null,null,null,null,null)),(l()(),e["\u0275eld"](3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["API Spec Converter"])),(l()(),e["\u0275eld"](5,0,null,null,8,"div",[["class","btn-toolbar social-buttons pull-right"]],null,null,null,null,null)),(l()(),e["\u0275eld"](6,0,null,null,3,"a",[["class","btn btn-default"]],[[8,"href",4]],null,null,null,null)),(l()(),e["\u0275eld"](7,0,null,null,0,"i",[["class","fa fa-left fa-github"]],null,null,null,null,null)),(l()(),e["\u0275eld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["View on GitHub"])),(l()(),e["\u0275eld"](10,0,null,null,3,"a",[["class","btn btn-default"],["href","https://twitter.com/intent/tweet?text=Convert+between+API+description+formats+such+as+Swagger+and+RAML:&url=http%3A%2F%2Flucybot-inc.github.io%2Fapi-spec-converter"]],null,null,null,null,null)),(l()(),e["\u0275eld"](11,0,null,null,0,"i",[["class","fa fa-left fa-twitter"]],null,null,null,null,null)),(l()(),e["\u0275eld"](12,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Tweet"])),(l()(),e["\u0275eld"](14,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["The goal of this project is to allow REST API developers to convert between different\n"])),(l()(),e["\u0275eld"](16,0,null,null,1,"a",[["href","http://apiux.com/2013/04/09/rest-metadata-formats/"],["target","_blank"]],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["API definition formats"])),(l()(),e["\u0275ted"](-1,null,[".\nThis prevents lock-in, and allows developers to take advantage\nof tools that only support particular formats."])),(l()(),e["\u0275eld"](19,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Currently, we only support converting from various formats (e.g. RAML and WADL) to Open API 2.0 (fka Swagger).\nOpen API 3.0 and API Blueprint are not supported in this web app, but are supported using the\n"])),(l()(),e["\u0275eld"](21,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["command line tool"])),(l()(),e["\u0275ted"](-1,null,["."])),(l()(),e["\u0275eld"](24,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["Our plan is to eventually support conversion between any two formats. If you'd like to contribute, you can\ncheck out the "])),(l()(),e["\u0275eld"](26,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["open source library on GitHub"])),(l()(),e["\u0275ted"](-1,null,["."])),(l()(),e["\u0275eld"](29,0,null,null,1,"spec-converter",[],null,null,null,w,c)),e["\u0275did"](30,49152,null,0,s,[a],null,null)],null,function(l,n){var u=n.component;l(n,6,0,u.githubLink),l(n,21,0,e["\u0275inlineInterpolate"](1,"",u.githubLink,"")),l(n,26,0,e["\u0275inlineInterpolate"](1,"",u.githubLink,""))})}e["\u0275ccf"]("home",C,function(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,1,"home",[],null,null,null,y,I)),e["\u0275did"](1,49152,null,0,C,[],null,null)],null,null)},{},{},[]);var O=e["\u0275crt"]({encapsulation:2,styles:[],data:{}});function R(l){return e["\u0275vid"](0,[(l()(),e["\u0275ted"](-1,null,["\n "])),(l()(),e["\u0275eld"](1,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(l()(),e["\u0275ted"](-1,null,["\n "])),(l()(),e["\u0275eld"](3,0,null,null,1,"home",[],null,null,null,y,I)),e["\u0275did"](4,49152,null,0,C,[],null,null),(l()(),e["\u0275ted"](-1,null,["\n "])),(l()(),e["\u0275ted"](-1,null,["\n "]))],null,null)}var _=e["\u0275ccf"]("app-root",o,function(l){return e["\u0275vid"](0,[(l()(),e["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,R,O)),e["\u0275did"](1,49152,null,0,o,[],null,null)],null,null)},{},{},[]),A=u("Qbdm"),M=u("Fzro"),S=e["\u0275cmf"](t,[o],function(l){return e["\u0275mod"]([e["\u0275mpd"](512,e.ComponentFactoryResolver,e["\u0275CodegenComponentFactoryResolver"],[[8,[_]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["\u0275mpd"](5120,e.LOCALE_ID,e["\u0275m"],[[3,e.LOCALE_ID]]),e["\u0275mpd"](4608,r.NgLocalization,r.NgLocaleLocalization,[e.LOCALE_ID]),e["\u0275mpd"](4608,e.Compiler,e.Compiler,[]),e["\u0275mpd"](5120,e.IterableDiffers,e["\u0275k"],[]),e["\u0275mpd"](5120,e.KeyValueDiffers,e["\u0275l"],[]),e["\u0275mpd"](4608,A.DomSanitizer,A["\u0275e"],[r.DOCUMENT]),e["\u0275mpd"](6144,e.Sanitizer,null,[A.DomSanitizer]),e["\u0275mpd"](4608,A.HAMMER_GESTURE_CONFIG,A.HammerGestureConfig,[]),e["\u0275mpd"](5120,A.EVENT_MANAGER_PLUGINS,function(l,n,u,e){return[new A["\u0275DomEventsPlugin"](l),new A["\u0275KeyEventsPlugin"](n),new A["\u0275HammerGesturesPlugin"](u,e)]},[r.DOCUMENT,r.DOCUMENT,r.DOCUMENT,A.HAMMER_GESTURE_CONFIG]),e["\u0275mpd"](4608,A.EventManager,A.EventManager,[A.EVENT_MANAGER_PLUGINS,e.NgZone]),e["\u0275mpd"](135680,A["\u0275DomSharedStylesHost"],A["\u0275DomSharedStylesHost"],[r.DOCUMENT]),e["\u0275mpd"](4608,A["\u0275DomRendererFactory2"],A["\u0275DomRendererFactory2"],[A.EventManager,A["\u0275DomSharedStylesHost"]]),e["\u0275mpd"](6144,e.RendererFactory2,null,[A["\u0275DomRendererFactory2"]]),e["\u0275mpd"](6144,A["\u0275SharedStylesHost"],null,[A["\u0275DomSharedStylesHost"]]),e["\u0275mpd"](4608,e.Testability,e.Testability,[e.NgZone]),e["\u0275mpd"](4608,A.Meta,A.Meta,[r.DOCUMENT]),e["\u0275mpd"](4608,A.Title,A.Title,[r.DOCUMENT]),e["\u0275mpd"](4608,M.BrowserXhr,M.BrowserXhr,[]),e["\u0275mpd"](4608,M.ResponseOptions,M.BaseResponseOptions,[]),e["\u0275mpd"](5120,M.XSRFStrategy,M["\u0275b"],[]),e["\u0275mpd"](4608,M.XHRBackend,M.XHRBackend,[M.BrowserXhr,M.ResponseOptions,M.XSRFStrategy]),e["\u0275mpd"](4608,M.RequestOptions,M.BaseRequestOptions,[]),e["\u0275mpd"](5120,M.Http,M["\u0275c"],[M.XHRBackend,M.RequestOptions]),e["\u0275mpd"](4608,d["\u0275i"],d["\u0275i"],[]),e["\u0275mpd"](4608,a,a,[e.PLATFORM_ID]),e["\u0275mpd"](512,r.CommonModule,r.CommonModule,[]),e["\u0275mpd"](1024,e.ErrorHandler,A["\u0275a"],[]),e["\u0275mpd"](256,e.APP_ID,"my-app",[]),e["\u0275mpd"](2048,A["\u0275TRANSITION_ID"],null,[e.APP_ID]),e["\u0275mpd"](1024,e.APP_INITIALIZER,function(l,n,u,e,t){return[A["\u0275c"](l,n),A["\u0275f"](u,e,t)]},[[2,A.NgProbeToken],[2,e.NgProbeToken],A["\u0275TRANSITION_ID"],r.DOCUMENT,e.Injector]),e["\u0275mpd"](512,e.ApplicationInitStatus,e.ApplicationInitStatus,[[2,e.APP_INITIALIZER]]),e["\u0275mpd"](131584,e["\u0275e"],e["\u0275e"],[e.NgZone,e["\u0275Console"],e.Injector,e.ErrorHandler,e.ComponentFactoryResolver,e.ApplicationInitStatus]),e["\u0275mpd"](2048,e.ApplicationRef,null,[e["\u0275e"]]),e["\u0275mpd"](512,e.ApplicationModule,e.ApplicationModule,[e.ApplicationRef]),e["\u0275mpd"](512,A.BrowserModule,A.BrowserModule,[[3,A.BrowserModule]]),e["\u0275mpd"](512,M.HttpModule,M.HttpModule,[]),e["\u0275mpd"](512,d["\u0275ba"],d["\u0275ba"],[]),e["\u0275mpd"](512,d.FormsModule,d.FormsModule,[]),e["\u0275mpd"](512,t,t,[]),e["\u0275mpd"](256,r.APP_BASE_HREF,"/api-spec-converter",[])])});Object(e.enableProdMode)(),document.addEventListener("DOMContentLoaded",function(){Object(A.platformBrowser)().bootstrapModuleFactory(S)})}},[0]);