(window.webpackJsonp=window.webpackJsonp||[]).push([[138],{314:function(e,a,t){"use strict";t.r(a);var n=t(1);function l(e,a){return a||(a=e.slice(0)),e.raw=a,e}t(329);var r=t(0),o=t.n(r),c=t(320),s=t.n(c),i=t(322),m=t(318),u=t(319),p=t(323),g=t(124),d=t.n(g),E=t(335);function h(){var e=l(["\n |docker run --rm \\\n | -v $PWD:/local openapitools/openapi-generator-cli generate \\\n | -i /local/petstore.yaml \\\n | -g go \\\n | -o /local/out/go\n "],["\n |docker run --rm \\\\\n | -v $PWD:/local openapitools/openapi-generator-cli generate \\\\\n | -i /local/petstore.yaml \\\\\n | -g go \\\\\n | -o /local/out/go\n "]);return h=function(){return e},e}function f(){var e=l(['\n |# install the latest version of "openapi-generator-cli"\n |npm install @openapitools/openapi-generator-cli -g\n |\n |# use a specific version of "openapi-generator-cli"\n |openapi-generator-cli version-manager set 5.3.0\n |\n |# Or install it as dev-dependency in your node.js projects\n |npm install @openapitools/openapi-generator-cli -D\n ']);return f=function(){return e},e}var b=[{title:o.a.createElement(o.a.Fragment,null,"Easy to Use"),imageUrl:"img/icons/plug.svg",description:o.a.createElement(o.a.Fragment,null,o.a.createElement("p",null,"With ",o.a.createElement("em",null,"50+")," client generators, you can easily generate code to interact with any server which exposes an OpenAPI document."),o.a.createElement("p",null,"Maintainers of APIs may also automatically generate and distribute clients as part of official SDKs."),o.a.createElement("p",null,"Each client supports different options and features, but all templates can be replaced with your own Mustache-based templates."),"See ",o.a.createElement("a",{href:"./docs/customization"},"Customization")," for details.")},{title:o.a.createElement(o.a.Fragment,null,"Servers"),imageUrl:"img/icons/exchange.svg",description:o.a.createElement(o.a.Fragment,null,o.a.createElement("p",null,"Getting started with server development can be tough, especially if you're evaluating technologies. We can reduce the burden when you bring your own OpenAPI document."),o.a.createElement("p",null,"Generate server stubs for 40+ different languages and technologies, including Java, Kotlin, Go, and PHP."),o.a.createElement("p",null,"Some generators support ",o.a.createElement("em",null,"Inversion of Control"),", allowing you to iterate on design via your OpenAPI document without worrying about blowing away your entire domain layer when you regenerate code."))},{title:o.a.createElement(o.a.Fragment,null,"Schemas/Configs"),imageUrl:"img/icons/pencil.svg",description:o.a.createElement(o.a.Fragment,null,o.a.createElement("p",null,"Ever wanted to iteratively design a MySQL database, but writing table declarations was too tedious?"),o.a.createElement("p",null,"OpenAPI Generator offers some special generators such as Apache2 Configuration, MySQL and GraphQL schema generators."),o.a.createElement("p",null,"You can easily extend these generators and their templates to create derivative generators!"))},{title:o.a.createElement(o.a.Fragment,null,"Documentation"),imageUrl:"img/icons/newspaper-o.svg",description:o.a.createElement(o.a.Fragment,null,o.a.createElement("p",null,"OpenAPI documents allow you to convert the metadata about your API into some other format."),o.a.createElement("p",null,"We include documentation formats such as HTML and Cwiki, which allow you to distribute static documentation to your consumers."),o.a.createElement("p",null,"We also support generating from OpenAPI 2.0 to newer JSON/YAML OpenAPI 3.x documents."))}];function v(e){for(var a=arguments.length,t=new Array(a>1?a-1:0),n=1;n"},o.a.createElement("header",{className:s()("hero hero--primary",d.a.heroBanner)},o.a.createElement("div",{className:"container"},o.a.createElement("h1",{className:"hero__title"},a.title),o.a.createElement("p",{className:"hero__subtitle"},a.tagline),o.a.createElement("div",{className:d.a.buttons},o.a.createElement(m.a,{className:s()("button button--outline button--secondary button--lg",d.a.getStarted),to:Object(p.a)("#try")},"Try It Out"),o.a.createElement(m.a,{className:s()("button button--outline button--secondary button--lg",d.a.getStarted),to:Object(p.a)("docs/installation")},"Install")),o.a.createElement("div",{className:d.a.buttons},o.a.createElement(m.a,{className:s()("button button--outline button--secondary button--md",d.a.getStarted),to:Object(p.a)("docs/generators")},"Generators"),o.a.createElement(m.a,{className:s()("button button--outline button--secondary button--md",d.a.getStarted),to:Object(p.a)("docs/customization")},"Customization"),o.a.createElement(m.a,{className:s()("button button--outline button--secondary button--md",d.a.getStarted),to:Object(p.a)("docs/integrations")},"Integrations")))),o.a.createElement("div",{className:s()(d.a.announcement,d.a.announcementDark)},o.a.createElement("div",{className:d.a.announcementInner},o.a.createElement("h2",null,o.a.createElement("b",null,"Sponsors")),o.a.createElement("p",null,"If you find OpenAPI Generator useful, please consider asking your company to ",o.a.createElement("a",{href:"https://opencollective.com/openapi_generator"},"become a sponsor"),"."),o.a.createElement("p",null,"You can also individually sponsor the project by ",o.a.createElement("a",{href:"https://opencollective.com/openapi_generator"},"becoming a backer"),"."),o.a.createElement("h3",null,"Thank you to our bronze sponsors!"),o.a.createElement("div",{className:s()("avatar",d.a.bronzeSponsorAvatars)},r.filter((function(e){return e.bronze})).map((function(e){return o.a.createElement("a",{className:s()("avatar__photo-link bronze-sponsor"),href:e.infoLink,key:e.infoLink},o.a.createElement("img",{src:Object(p.a)(e.image),alt:e.caption,title:e.caption,className:s()("avatar__photo avatar__photo--lg")}))}))))),o.a.createElement("main",null,b&&b.length&&o.a.createElement("section",{className:d.a.features},o.a.createElement("div",{className:"features container"},o.a.createElement("div",{className:"row"},b.map((function(e,a){return o.a.createElement(N,Object(n.a)({key:a},e))}))))),y&&y.length&&o.a.createElement("section",{className:d.a.callout},o.a.createElement("div",{className:"callout container"},y.map((function(e,a){return o.a.createElement(w,Object(n.a)({key:a},e))}))))),g&&g.length&&o.a.createElement("div",{className:s()(d.a.announcement,d.a.announcementLight)},o.a.createElement("div",{className:s()(d.a.productShowcaseSection,d.a.announcementInner)},o.a.createElement(I,{users:g}))),o.a.createElement("div",{className:s()(d.a.announcement,d.a.announcementDark)},'"OpenAPI Tools" and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI)'))}}}]);