forked from loafle/openapi-generator-original
Deploy website
Deploy website version based on d09e097e4ed0beffe85bc35106bf01726f119dc0
This commit is contained in:
parent
0c33708779
commit
001eff8f04
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Migrating from Swagger Codegen · OpenAPI Generator</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`."/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Migrating from Swagger Codegen · OpenAPI Generator"/><meta property="og:type" content="website"/><meta property="og:url" content="https://openapi-generator.tech/"/><meta property="og:description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`."/><meta property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://openapi-generator.tech/img/icons/twitter.svg"/><link rel="shortcut icon" href="/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://openapi-generator.tech/blog/atom.xml" title="OpenAPI Generator Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://openapi-generator.tech/blog/feed.xml" title="OpenAPI Generator Blog RSS Feed"/><script>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Migrating from Swagger Codegen · OpenAPI Generator</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`. For the reasons behind the fork, please refer to the [Q&A](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md)."/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Migrating from Swagger Codegen · OpenAPI Generator"/><meta property="og:type" content="website"/><meta property="og:url" content="https://openapi-generator.tech/"/><meta property="og:description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`. For the reasons behind the fork, please refer to the [Q&A](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md)."/><meta property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://openapi-generator.tech/img/icons/twitter.svg"/><link rel="shortcut icon" href="/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://openapi-generator.tech/blog/atom.xml" title="OpenAPI Generator Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://openapi-generator.tech/blog/feed.xml" title="OpenAPI Generator Blog RSS Feed"/><script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
@ -62,7 +62,7 @@
|
||||
};
|
||||
}
|
||||
});
|
||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Migrating from Swagger Codegen</h1></header><article><div><span><p>OpenAPI Generator is a fork of <code>swagger-codegen</code> between version <code>2.3.1</code> and <code>2.4.0</code>.
|
||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Migrating from Swagger Codegen</h1></header><article><div><span><p>OpenAPI Generator is a fork of <code>swagger-codegen</code> between version <code>2.3.1</code> and <code>2.4.0</code>. For the reasons behind the fork, please refer to the <a href="https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md">Q&A</a>.
|
||||
This community-driven version called "OpenAPI Generator" provides similar functionalities and can be used as drop-in replacement.
|
||||
This guide explains the major differences in order to help you with the migration.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
@ -79,6 +79,7 @@ This guide explains the major differences in order to help you with the migratio
|
||||
<li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li>
|
||||
<li><a href="#body-parameter-name">Body parameter name</a></li>
|
||||
<li><a href="#default-basepath">Default basePath</a></li>
|
||||
<li><a href="#nullable">Nullable</a></li>
|
||||
</ul>
|
||||
<h2><a class="anchor" aria-hidden="true" id="new-docker-images"></a><a href="#new-docker-images" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>New docker images</h2>
|
||||
<p>The docker images are available on DockerHub: <a href="https://hub.docker.com/u/openapitools/">https://hub.docker.com/u/openapitools/</a></p>
|
||||
@ -247,4 +248,6 @@ Concretely if you did not specify anything when you are generating java code, a
|
||||
<p>If your API client is using named parameters in the function call (e.g. Perl required & optional parameters, Ruby optional parameters), you will need to add <code>x-codegen-request-body-name</code> to the spec to restore the original body parameter name.</p>
|
||||
<h2><a class="anchor" aria-hidden="true" id="default-basepath"></a><a href="#default-basepath" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Default basePath</h2>
|
||||
<p>The default <code>basePath</code> has been changed from <code>https://localhost</code> to <code>http://localhost</code> (http without s)</p>
|
||||
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2019-8-12</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/roadmap"><span class="arrow-prev">← </span><span>Roadmap</span></a><a class="docs-next button" href="/docs/fork-qna"><span>Swagger Codegen Fork: Q&A</span><span class="arrow-next"> →</span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#new-docker-images">New docker images</a></li><li><a href="#new-maven-coordinates">New maven coordinates</a></li><li><a href="#changes-in-maven-plugin">Changes in Maven Plugin</a></li><li><a href="#new-generators-names">New generators names</a></li><li><a href="#new-parameters-name">New parameters name</a></li><li><a href="#renamed-mustache-template-variables">Renamed Mustache Template Variables</a></li><li><a href="#ignore-file">Ignore file</a></li><li><a href="#metadata-folder">Metadata folder</a></li><li><a href="#new-default-values-for-the-generated-code">New default values for the generated code</a></li><li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li><li><a href="#body-parameter-name">Body parameter name</a></li><li><a href="#default-basepath">Default basePath</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/mono-logo.svg" alt="OpenAPI Generator" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/customization.html">Customizing Generators</a><a href="/docs/en/integrations.html">Workflow Integrations</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a><a href="http://stackoverflow.com/questions/tagged/openapi-generator" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://gitter.im/OpenAPITools/openapi-generator">Chat Room</a><a href="https://twitter.com/oas_generator" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/OpenAPITools/openapi-generator">GitHub Repo</a><a class="github-button" href="https://github.com/OpenAPITools/openapi-generator" data-icon="octicon-star" data-count-href="/OpenAPITools/openapi-generator/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))</section></footer></div></body></html>
|
||||
<h2><a class="anchor" aria-hidden="true" id="nullable"></a><a href="#nullable" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Nullable</h2>
|
||||
<p>OpenAPI spec v3 has better support for <code>nullable</code>. If you're still using OpenAPI/Swagger spec v2, please use <code>x-nullable: true</code> instead.</p>
|
||||
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2019-8-22</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/roadmap"><span class="arrow-prev">← </span><span>Roadmap</span></a><a class="docs-next button" href="/docs/fork-qna"><span>Swagger Codegen Fork: Q&A</span><span class="arrow-next"> →</span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#new-docker-images">New docker images</a></li><li><a href="#new-maven-coordinates">New maven coordinates</a></li><li><a href="#changes-in-maven-plugin">Changes in Maven Plugin</a></li><li><a href="#new-generators-names">New generators names</a></li><li><a href="#new-parameters-name">New parameters name</a></li><li><a href="#renamed-mustache-template-variables">Renamed Mustache Template Variables</a></li><li><a href="#ignore-file">Ignore file</a></li><li><a href="#metadata-folder">Metadata folder</a></li><li><a href="#new-default-values-for-the-generated-code">New default values for the generated code</a></li><li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li><li><a href="#body-parameter-name">Body parameter name</a></li><li><a href="#default-basepath">Default basePath</a></li><li><a href="#nullable">Nullable</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/mono-logo.svg" alt="OpenAPI Generator" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/customization.html">Customizing Generators</a><a href="/docs/en/integrations.html">Workflow Integrations</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a><a href="http://stackoverflow.com/questions/tagged/openapi-generator" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://gitter.im/OpenAPITools/openapi-generator">Chat Room</a><a href="https://twitter.com/oas_generator" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/OpenAPITools/openapi-generator">GitHub Repo</a><a class="github-button" href="https://github.com/OpenAPITools/openapi-generator" data-icon="octicon-star" data-count-href="/OpenAPITools/openapi-generator/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))</section></footer></div></body></html>
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Migrating from Swagger Codegen · OpenAPI Generator</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`."/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Migrating from Swagger Codegen · OpenAPI Generator"/><meta property="og:type" content="website"/><meta property="og:url" content="https://openapi-generator.tech/"/><meta property="og:description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`."/><meta property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://openapi-generator.tech/img/icons/twitter.svg"/><link rel="shortcut icon" href="/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://openapi-generator.tech/blog/atom.xml" title="OpenAPI Generator Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://openapi-generator.tech/blog/feed.xml" title="OpenAPI Generator Blog RSS Feed"/><script>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Migrating from Swagger Codegen · OpenAPI Generator</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`. For the reasons behind the fork, please refer to the [Q&A](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md)."/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Migrating from Swagger Codegen · OpenAPI Generator"/><meta property="og:type" content="website"/><meta property="og:url" content="https://openapi-generator.tech/"/><meta property="og:description" content="OpenAPI Generator is a fork of `swagger-codegen` between version `2.3.1` and `2.4.0`. For the reasons behind the fork, please refer to the [Q&A](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md)."/><meta property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://openapi-generator.tech/img/icons/twitter.svg"/><link rel="shortcut icon" href="/img/favicon.png"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://openapi-generator.tech/blog/atom.xml" title="OpenAPI Generator Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://openapi-generator.tech/blog/feed.xml" title="OpenAPI Generator Blog RSS Feed"/><script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
@ -62,7 +62,7 @@
|
||||
};
|
||||
}
|
||||
});
|
||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Migrating from Swagger Codegen</h1></header><article><div><span><p>OpenAPI Generator is a fork of <code>swagger-codegen</code> between version <code>2.3.1</code> and <code>2.4.0</code>.
|
||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Migrating from Swagger Codegen</h1></header><article><div><span><p>OpenAPI Generator is a fork of <code>swagger-codegen</code> between version <code>2.3.1</code> and <code>2.4.0</code>. For the reasons behind the fork, please refer to the <a href="https://github.com/OpenAPITools/openapi-generator/blob/master/docs/qna.md">Q&A</a>.
|
||||
This community-driven version called "OpenAPI Generator" provides similar functionalities and can be used as drop-in replacement.
|
||||
This guide explains the major differences in order to help you with the migration.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
@ -79,6 +79,7 @@ This guide explains the major differences in order to help you with the migratio
|
||||
<li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li>
|
||||
<li><a href="#body-parameter-name">Body parameter name</a></li>
|
||||
<li><a href="#default-basepath">Default basePath</a></li>
|
||||
<li><a href="#nullable">Nullable</a></li>
|
||||
</ul>
|
||||
<h2><a class="anchor" aria-hidden="true" id="new-docker-images"></a><a href="#new-docker-images" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>New docker images</h2>
|
||||
<p>The docker images are available on DockerHub: <a href="https://hub.docker.com/u/openapitools/">https://hub.docker.com/u/openapitools/</a></p>
|
||||
@ -247,4 +248,6 @@ Concretely if you did not specify anything when you are generating java code, a
|
||||
<p>If your API client is using named parameters in the function call (e.g. Perl required & optional parameters, Ruby optional parameters), you will need to add <code>x-codegen-request-body-name</code> to the spec to restore the original body parameter name.</p>
|
||||
<h2><a class="anchor" aria-hidden="true" id="default-basepath"></a><a href="#default-basepath" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Default basePath</h2>
|
||||
<p>The default <code>basePath</code> has been changed from <code>https://localhost</code> to <code>http://localhost</code> (http without s)</p>
|
||||
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2019-8-12</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/roadmap"><span class="arrow-prev">← </span><span>Roadmap</span></a><a class="docs-next button" href="/docs/fork-qna"><span>Swagger Codegen Fork: Q&A</span><span class="arrow-next"> →</span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#new-docker-images">New docker images</a></li><li><a href="#new-maven-coordinates">New maven coordinates</a></li><li><a href="#changes-in-maven-plugin">Changes in Maven Plugin</a></li><li><a href="#new-generators-names">New generators names</a></li><li><a href="#new-parameters-name">New parameters name</a></li><li><a href="#renamed-mustache-template-variables">Renamed Mustache Template Variables</a></li><li><a href="#ignore-file">Ignore file</a></li><li><a href="#metadata-folder">Metadata folder</a></li><li><a href="#new-default-values-for-the-generated-code">New default values for the generated code</a></li><li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li><li><a href="#body-parameter-name">Body parameter name</a></li><li><a href="#default-basepath">Default basePath</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/mono-logo.svg" alt="OpenAPI Generator" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/customization.html">Customizing Generators</a><a href="/docs/en/integrations.html">Workflow Integrations</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a><a href="http://stackoverflow.com/questions/tagged/openapi-generator" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://gitter.im/OpenAPITools/openapi-generator">Chat Room</a><a href="https://twitter.com/oas_generator" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/OpenAPITools/openapi-generator">GitHub Repo</a><a class="github-button" href="https://github.com/OpenAPITools/openapi-generator" data-icon="octicon-star" data-count-href="/OpenAPITools/openapi-generator/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))</section></footer></div></body></html>
|
||||
<h2><a class="anchor" aria-hidden="true" id="nullable"></a><a href="#nullable" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Nullable</h2>
|
||||
<p>OpenAPI spec v3 has better support for <code>nullable</code>. If you're still using OpenAPI/Swagger spec v2, please use <code>x-nullable: true</code> instead.</p>
|
||||
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 2019-8-22</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/roadmap"><span class="arrow-prev">← </span><span>Roadmap</span></a><a class="docs-next button" href="/docs/fork-qna"><span>Swagger Codegen Fork: Q&A</span><span class="arrow-next"> →</span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#new-docker-images">New docker images</a></li><li><a href="#new-maven-coordinates">New maven coordinates</a></li><li><a href="#changes-in-maven-plugin">Changes in Maven Plugin</a></li><li><a href="#new-generators-names">New generators names</a></li><li><a href="#new-parameters-name">New parameters name</a></li><li><a href="#renamed-mustache-template-variables">Renamed Mustache Template Variables</a></li><li><a href="#ignore-file">Ignore file</a></li><li><a href="#metadata-folder">Metadata folder</a></li><li><a href="#new-default-values-for-the-generated-code">New default values for the generated code</a></li><li><a href="#new-fully-qualified-name-for-the-classes">New fully qualified name for the classes</a></li><li><a href="#body-parameter-name">Body parameter name</a></li><li><a href="#default-basepath">Default basePath</a></li><li><a href="#nullable">Nullable</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/mono-logo.svg" alt="OpenAPI Generator" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/en/customization.html">Customizing Generators</a><a href="/docs/en/integrations.html">Workflow Integrations</a></div><div><h5>Community</h5><a href="/en/users.html">User Showcase</a><a href="http://stackoverflow.com/questions/tagged/openapi-generator" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://gitter.im/OpenAPITools/openapi-generator">Chat Room</a><a href="https://twitter.com/oas_generator" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/OpenAPITools/openapi-generator">GitHub Repo</a><a class="github-button" href="https://github.com/OpenAPITools/openapi-generator" data-icon="octicon-star" data-count-href="/OpenAPITools/openapi-generator/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))</section></footer></div></body></html>
|
Loading…
x
Reference in New Issue
Block a user