openapi-generator/assets/js/773b7ddf.f8fd0c62.js

1 line
6.4 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3534],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),d=l(r),g=o,m=d["".concat(c,".").concat(g)]||d[g]||u[g]||a;return r?n.createElement(m,i(i({ref:t},p),{},{components:r})):n.createElement(m,i({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=g;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[d]="string"==typeof e?e:o,i[1]=s;for(var l=2;l<a;l++)i[l]=r[l];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},7525:function(e,t,r){r.r(t),r.d(t,{assets:function(){return p},contentTitle:function(){return c},default:function(){return g},frontMatter:function(){return s},metadata:function(){return l},toc:function(){return d}});var n=r(7462),o=r(3366),a=(r(7294),r(3905)),i=["components"],s={id:"fork-qna",title:"Swagger Codegen Fork: Q&A"},c=void 0,l={unversionedId:"fork-qna",id:"fork-qna",title:"Swagger Codegen Fork: Q&A",description:"This document aims to answer some questions about the fork for historical reference, where these questions don't fit into other documents related to the project itself.",source:"@site/../docs/qna.md",sourceDirName:".",slug:"/fork-qna",permalink:"/docs/fork-qna",draft:!1,editUrl:"https://github.com/OpenAPITools/openapi-generator/edit/master/website/../docs/qna.md",tags:[],version:"current",lastUpdatedBy:"Jim Schubert",lastUpdatedAt:1581427378,formattedLastUpdatedAt:"Feb 11, 2020",frontMatter:{id:"fork-qna",title:"Swagger Codegen Fork: Q&A"},sidebar:"docs",previous:{title:"Migrating from Swagger Codegen",permalink:"/docs/swagger-codegen-migration"},next:{title:"Release Summary",permalink:"/docs/release-summary"}},p={},d=[{value:"Why was it decided to fork Swagger Codegen?",id:"why-was-it-decided-to-fork-swagger-codegen",level:2},{value:"Are there any changes to the project license?",id:"are-there-any-changes-to-the-project-license",level:2},{value:"I am currently using Swagger Codegen 2.x. How can I upgrade the generator to OpenAPI Generator?",id:"i-am-currently-using-swagger-codegen-2x-how-can-i-upgrade-the-generator-to-openapi-generator",level:2},{value:"Who maintains this Q&amp;A page?",id:"who-maintains-this-qa-page",level:2}],u={toc:d};function g(e){var t=e.components,r=(0,o.Z)(e,i);return(0,a.kt)("wrapper",(0,n.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"This document aims to answer some questions about the fork for historical reference, where these questions don't fit into other documents related to the project itself."),(0,a.kt)("h2",{id:"why-was-it-decided-to-fork-swagger-codegen"},"Why was it decided to fork Swagger Codegen?"),(0,a.kt)("p",null,"There are several reasons:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},"The founding members felt that Swagger Codegen 3.0.0 was diverging too much from the philosophy of Swagger Codegen 2.x."),(0,a.kt)("li",{parentName:"ol"},"The founding members were concerned that the maintenance overhead of two separate branches (2.x, 3.x) would result in issues similar to those felt in the Python community."),(0,a.kt)("li",{parentName:"ol"},"The founding members wanted a more rapid ",(0,a.kt)("a",{parentName:"li",href:"https://github.com/OpenAPITools/openapi-generator/releases/"},"release cycle")," (weekly patch release, monthly minor release) so users do not need to wait for several months to get a stable release."),(0,a.kt)("li",{parentName:"ol"},"Having a community-driven version allows for innovation, reliability, and a ",(0,a.kt)("a",{parentName:"li",href:"https://github.com/OpenAPITools/openapi-generator/blob/master/docs/roadmap.md"},"roadmap")," owned by the community.")),(0,a.kt)("h2",{id:"are-there-any-changes-to-the-project-license"},"Are there any changes to the project license?"),(0,a.kt)("p",null,"No, OpenAPI Generator is still using the ",(0,a.kt)("a",{parentName:"p",href:"https://www.apache.org/licenses/LICENSE-2.0"},"Apache license (version 2)"),"."),(0,a.kt)("h2",{id:"i-am-currently-using-swagger-codegen-2x-how-can-i-upgrade-the-generator-to-openapi-generator"},"I am currently using Swagger Codegen 2.x. How can I upgrade the generator to OpenAPI Generator?"),(0,a.kt)("p",null,"OpenAPI Generator is based on Swagger Codegen ",(0,a.kt)("inlineCode",{parentName:"p"},"2.4.0-SNAPSHOT")," version so the migration should be relatively straightforward. Refer to the ",(0,a.kt)("a",{parentName:"p",href:"/docs/swagger-codegen-migration"},"migration guide")," for more information. "),(0,a.kt)("h2",{id:"who-maintains-this-qa-page"},"Who maintains this Q&A page?"),(0,a.kt)("p",null,"This Q&A page is maintained by the ",(0,a.kt)("a",{parentName:"p",href:"/docs/core-team"},"core team members"),". It is not maintained by any single person, nor do these Q&As represent the views of any individual or person."))}g.isMDXComponent=!0}}]);