forked from loafle/openapi-generator-original
55 lines
41 KiB
HTML
55 lines
41 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="generator" content="Docusaurus">
|
|
<link rel="preconnect" href="https://www.google-analytics.com">
|
|
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-132927057-1","auto"),ga("send","pageview")</script>
|
|
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
|
<link rel="preconnect" href="https://www.google-analytics.com">
|
|
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-132927057-1","auto"),ga("send","pageview")</script>
|
|
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
|
<script src="https://buttons.github.io/buttons.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js"></script>
|
|
<script src="/js/code-block-buttons.js"></script>
|
|
|
|
<title data-react-helmet="true">Release Notes: 3.0.0</title>
|
|
|
|
<meta data-react-helmet="true" http-equiv="x-ua-compatible" content="ie=edge"><meta data-react-helmet="true" property="og:title" content="OpenAPI Generator · Generate clients, servers, and documentation from OpenAPI 2.0/3.x documents"><meta data-react-helmet="true" property="og:image" content="https://openapi-generator.tech/img/docusaurus.png"><meta data-react-helmet="true" property="twitter:image" content="https://openapi-generator.tech/img/docusaurus.png"><meta data-react-helmet="true" name="twitter:image:alt" content="Image for OpenAPI Generator · Generate clients, servers, and documentation from OpenAPI 2.0/3.x documents"><meta data-react-helmet="true" name="twitter:card" content="summary"><meta data-react-helmet="true" name="description" content="* ## Docker"><meta data-react-helmet="true" property="og:description" content="* ## Docker"><meta data-react-helmet="true" property="og:url" content="https://openapi-generator.tech/docs/release-3-0-0">
|
|
|
|
<link data-react-helmet="true" rel="shortcut icon" href="/img/favicon.png">
|
|
|
|
|
|
<link rel="stylesheet" href="/styles.62ba095c.css">
|
|
|
|
</head>
|
|
<body>
|
|
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}function e(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}var n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener((function(n){null===e()&&t(n.matches?"dark":"")}));var a=e();null!==a?t(a):n.matches&&t("dark")}()</script>
|
|
<div id="__docusaurus">
|
|
<nav class="navbar navbar--light navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><div aria-label="Navigation bar toggle" class="navbar__toggle" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" role="img" focusable="false"><title>Menu</title><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></div><a aria-current="page" class="navbar__brand active" href="/"><img class="navbar__logo" src="/img/mono-logo.svg" alt="OpenAPI Tools logo"><strong>OpenAPI Generator</strong></a><a class="navbar__item navbar__link" href="/docs/installation">Getting Started</a><a class="navbar__item navbar__link" href="/docs/generators">Generators</a><a class="navbar__item navbar__link" href="/docs/roadmap">Roadmap</a><a class="navbar__item navbar__link" href="/docs/faq">FAQ</a><a class="navbar__item navbar__link" href="/team">Team</a><a class="navbar__item navbar__link" href="/blog">Blog</a><a class="navbar__item navbar__link" activeclassname="navbar__link--active" to="https://api.openapi-generator.tech" href="https://api.openapi-generator.tech">API</a></div><div class="navbar__items navbar__items--right"><div class="react-toggle react-toggle--disabled displayOnlyInLargeViewport_1gtM"><div class="react-toggle-track"><div class="react-toggle-track-check"><span class="toggle_keGJ moon_1gwN"></span></div><div class="react-toggle-track-x"><span class="toggle_keGJ sun_3CPA"></span></div></div><div class="react-toggle-thumb"></div><input type="checkbox" disabled="" aria-label="Dark mode toggle" class="react-toggle-screenreader-only"></div><div class="navbar__search"><span aria-label="expand searchbar" role="button" class="search-icon" tabindex="0"></span><input type="search" id="search_input_react" placeholder="Search" aria-label="Search" class="navbar__search-input search-bar"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div><div class="navbar-sidebar"><div class="navbar-sidebar__brand"><a aria-current="page" class="navbar__brand active" href="/"><img class="navbar__logo" src="/img/mono-logo.svg" alt="OpenAPI Tools logo"><strong>OpenAPI Generator</strong></a></div><div class="navbar-sidebar__items"><div class="menu"><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/installation">Getting Started</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/generators">Generators</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/roadmap">Roadmap</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/faq">FAQ</a></li><li class="menu__list-item"><a class="menu__link" href="/team">Team</a></li><li class="menu__list-item"><a class="menu__link" href="/blog">Blog</a></li><li class="menu__list-item"><a class="menu__link" activeclassname="navbar__link--active" to="https://api.openapi-generator.tech" href="https://api.openapi-generator.tech">API</a></li></ul></div></div></div></nav><div class="main-wrapper"><div class="docPage_1kjD"><div class="docSidebarContainer_1cYp"><div class="sidebar_1kLs"><div class="menu menu--responsive"><button aria-label="Open Menu" class="button button--secondary button--sm menu__button" type="button"><svg class="sidebarMenuIcon_2vk4" xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 32 32" role="img" focusable="false"><title>Menu</title><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><ul class="menu__list"><li class="menu__list-item menu__list-item--collapsed"><a class="menu__link menu__link--sublist" href="#!">Getting Started</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/installation">CLI Installation</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/plugins">Plugins</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/online">Online</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/usage">Usage</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/globals">Global Properties</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/configuration">Configuration Options</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/file-post-processing">File post-processing</a></li></ul></li><li class="menu__list-item menu__list-item--collapsed"><a class="menu__link menu__link--sublist" href="#!">Extending</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/templating">Using Templates</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/customization">Customization</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/debugging">Debugging</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/integrations">Workflow Integrations</a></li></ul></li><li class="menu__list-item menu__list-item--collapsed"><a class="menu__link menu__link--sublist" href="#!">Contributing</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/contributing">Guidelines</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/code-of-conduct">Code of Conduct</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/contribute-building">Building the code</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/new-generator">Create a New Generator</a></li></ul></li><li class="menu__list-item menu__list-item--collapsed"><a class="menu__link menu__link--sublist" href="#!">About</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/roadmap">Roadmap</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/swagger-codegen-migration">Migrating from Swagger Codegen</a></li><li class="menu__list-item"><a class="menu__link" href="/docs/fork-qna">Swagger Codegen Fork: Q&A</a></li></ul></li><li class="menu__list-item"><a class="menu__link menu__link--sublist menu__link--active" href="#!">Releases</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/release-summary">Release Summary</a></li><li class="menu__list-item"><a aria-current="page" class="menu__link menu__link--active" href="/docs/release-3-0-0">Release Notes: 3.0.0</a></li></ul></li><li class="menu__list-item menu__list-item--collapsed"><a class="menu__link menu__link--sublist" href="#!">API</a><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/generators">Generators List</a></li></ul></li></ul></div></div></div><main class="docMainContainer_FFX1"><div class="padding-vert--lg"><div class="container"><div class="row"><div class="col"><div class="docItemContainer_2cwg"><article><header><h1 class="docTitle_1vWb">Release Notes: 3.0.0</h1></header><div class="markdown"><ul><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="docker"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#docker" title="Direct link to heading">#</a>Docker</h2></li><li><p>7dfd94002 Docker: use correct MAVEN_CONFIG (#182)</p></li><li><p>b5a0d173d Revise the usage of OpenAPI Generator online (docker image) (#73)</p></li><li><p>e58dc2c77 Fix COPY in Dockerfile (#64)</p></li><li><p>9d7feaaeb Fix online generator (docker push) (#58)</p></li><li><p>9247cd01e Changes for Docker</p></li><li><p>64037ee59 update docker-related files to ues jdk8</p></li><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="plug-ins"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#plug-ins" title="Direct link to heading">#</a>Plug-ins</h2></li><li><p>b6b8c0db8 [gradle-plugin] Initial implementation (#162) </p></li><li><p>0a28aad73 [MAVEN PLUGIN] Checking for null configOptions before looking for property</p></li><li><p>9c79297d6 [MAVEN PLUGIN] Use latest version in dependencies snippet</p></li><li><p>9e1bbe0c1 Add maven wrapper</p></li><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="api-clients"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#api-clients" title="Direct link to heading">#</a>API Clients</h2></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="ada"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#ada" title="Direct link to heading">#</a>Ada</h3></li><li><p>edf6be8c0 [Ada] bug fix by defining x-is-model-type when property is local to the YML file</p></li><li><p>9ba74f484 [Ada] Fix GNAT project and server skeleton to avoid sending a response when an error is returned</p></li><li><p>ea27924f5 [Ada] changed default project/package name, to solve circular dependencies</p></li><li><p>6b9d38d40 remove trailing spaces in ada template</p></li><li><p>0de7f972f Fix the Ada server skeleton to check the authsMethods in the Shared_Instance generic package</p></li><li><p>4bd8fc6e8 Fix 7511: [Ada] Client call is not correct with multiple parameters and application/x-www-urlencoded</p></li><li><p>3035bc629 [Ada] Hotfix/ada model sort</p></li><li><p>43f0e8692 Ada code generator corrected: "=>" instead of "->". </p></li><li><p>7d2b49085 [Ada] wrong order for generated structures in models.ads files</p></li><li><p>2b2b85eec [Ada] wrong JSON in POST operations</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="c"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#c" title="Direct link to heading">#</a>C#</h3></li><li><p>0e34bcf4e [csharp] ctor params should always be camelCase</p></li><li><p>872471996 [csharp] Support arrays of arrays for properties and models</p></li><li><p>1c4e6b7d4 [csharp] Fix ToJson to work with composition and polymorphism</p></li><li><p>ed7af73f6 [csharp] Reference this.Configuration in client API template</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="c-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#c-1" title="Direct link to heading">#</a>C++</h3></li><li><p>e796e4c36 [C++] Add linux as a reserve keyword</p></li><li><p>36f69a034 remove trailing spaces in qt5 c++ templates</p></li><li><p>f192613f1 fix string type in c++ generator</p></li><li><p>409015461 fix file type in qt5cpp</p></li><li><p>a4bcb3bc7 fix datetime and map type for qt5cpp</p></li><li><p>23b31aba8 [qt5cpp] Fix crash when API return a map container</p></li><li><p>3b031ed2b [qt5cpp] delete callback data allocated before signal emission</p></li><li><p>1bb1e44d1 [qt5cpp] Remove qt5 pro.user file</p></li><li><p>194722015 Qt5cpp plug memleaks part2</p></li><li><p>12f3661d6 Qt5cpp plug memleaks</p></li><li><p>ea4b94842 [qt5cpp] Add nullptr guard to prevent crash when empty model is being serialized</p></li><li><p>0bf430a80 Qt5cpp Add support for nested containers</p></li><li><p>0b3ec6b1f fix NPE with cpp qt5, add logic to avoid NPE with composed schema</p></li><li><p>7c734445b fix file parameter in header file (cpprest)</p></li><li><p>070b5c00b fix object type declaration in cpprest</p></li><li><p>bad1885b4 [cpprest] add parameterToString for number type with unspecified format (double)</p></li><li><p>73bd24db7 [cpprest] Add support for nested vectors</p></li><li><p>ee2eb74f7 [qt] update Qt client</p></li><li><p>d82499944 Adding qt project generation fix</p></li><li><p>9bd94b4db [qt] Fix warning message</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="clojure"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#clojure" title="Direct link to heading">#</a>Clojure</h3></li><li><p>d7e374504 [Clojure] Add util method to set the api-context globally (#93)</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="dart"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#dart" title="Direct link to heading">#</a>Dart</h3></li><li><p>f1638a659 [Dart] Allow setting an accessToken for OAuth</p></li><li><p>a5e26a44f [Dart] - Rework Dart client generator to be flutter-compatible</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="elixir"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#elixir" title="Direct link to heading">#</a>Elixir</h3></li><li><p>f9b2839a3 [Elixir] Check date value before calling to_iso8601</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="elm"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#elm" title="Direct link to heading">#</a>Elm</h3></li><li><p>5a87fe695 [elm] Fix operations with empty responses (#171)</p></li><li><p>a5cf27b60 Fix Petstore example for Elm (#96)</p></li><li><p>c522927d5 Fix Elm generator for polymorphism (#78)</p></li><li><p>7d9fb9f51 Add CI test for Elm in travis (#40)</p></li><li><p>769a65c95 [Elm] Add support for array schemas</p></li><li><p>56a0268e3 [elm] missing '->' in Main elm template</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="erlang"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#erlang" title="Direct link to heading">#</a>Erlang</h3></li><li><p>c73118524 [erlang-client] Erlang request utils</p></li><li><p>049eef9c5 Test erlang client, server petstore</p></li><li><p>bcc7b788e fix erlang client compilation error</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="go"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#go" title="Direct link to heading">#</a>Go</h3></li><li><p>acb63fd5e Fix go readme, remove resty install</p></li><li><p>5d8362d85 Update go client, fix double body read</p></li><li><p>47614bb76 Properly capitalize exported go types</p></li><li><p>ee561fcd6 Add withXml option for Go language</p></li><li><p>0f6696089 [Go] Use consistent indentation in readme </p></li><li><p>72abb20f2 [Go] Fix operation files clobbering model files. [2.4.0]</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="haskell"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#haskell" title="Direct link to heading">#</a>Haskell</h3></li><li><p>34db79b9b [haskell-http-client] update dependency versions + readme (#81)</p></li><li><p>e45b3784f Fix NPE with Haskell client generator with OAS3 spec</p></li><li><p>d3401396f [haskell-http-client] remove duplicates in produces/consumes; fix pathParam paramName issue</p></li><li><p>4bc99b9da minor fixes to haskell http client generator</p></li><li><p>2d0bafb6b [haskell-http-client] default InlineMimeTypes=true</p></li><li><p>9fba9c325 [haskell-http-client] add config options: cabalPackage, cabalVersion, baseModule, requestType, configType</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="kotlin"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#kotlin" title="Direct link to heading">#</a>Kotlin</h3></li><li><p>a3322fbf7 [kotlin] Add OkHttpClient.Builder to ApiClient.</p></li><li><p>3c5fb1d80 [kotlin] Add json annotation to each enum value.</p></li><li><p>39fa375e3 [kotlin] Fix NPE for POST/PUT/PATCH with empty request models.</p></li><li><p>c599906f1 Kotlin: Correct data_class.mustache to use proper property for inner enum data type</p></li><li><p>c69925b53 [Kotlin] Fix issues with threetenbp </p></li><li><p>a811a48c3 minor fix to kotlin client genrator due to merge conflict</p></li><li><p>914275fe7 [kotlin] support selection of datelibrary</p></li><li><p>a61d23265 Fixed incorrect renaming of header and query param to camel cases for Kotlin Client template</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="lua"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#lua" title="Direct link to heading">#</a>Lua</h3></li><li><p>dbe78e23e [Lua] Improve auto-generated test files</p></li><li><p>6c79052ac Add auto-generated Lua spec files for APIs, models</p></li><li><p>38a2c1dde [Lua] Fix Rockpec</p></li><li><p>a2410b210 Add auto-generated rockspec file to Lua API client</p></li><li><p>df10c725a Add lua test script, minor fix to Lua API files</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="java"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#java" title="Direct link to heading">#</a>Java</h3></li><li><p>2e69e6c03 build.gradle should not have commas</p></li><li><p>1a4e5a4e5 Java client: Add constants for libraries (#163)</p></li><li><p>7db0201a8 Fix NPEs in Java generator (#154)</p></li><li><p>4d7ff8cfb JavaDoc fixes for Java/RESTEasy client (#151)</p></li><li><p>072ce070b resteasy: fix outer enum case (#139)</p></li><li><p>ccd002966 [Java] rest-assured: fix javadoc in templates</p></li><li><p>e7410d4c8 Allow $ in java var name</p></li><li><p>03490e923 Fix Java binary mapping</p></li><li><p>70b4b55fa Fix performance linting problem with maps in Java ApiClient template</p></li><li><p>cddcda0fe [Java][Jersey2] Make generated client code thread safe</p></li><li><p>298ca8d35 use correct jackson date library when using Java 8</p></li><li><p>53eeb0c04 [Java] fix connection leak on retrofit OAuth token renewal</p></li><li><p>61c25e711 [Java] Fixes for retrofit</p></li><li><p>f02332755 [JAVA] 4709: codegen with parcelableMode fails to build if using arrays in swagger.</p></li><li><p>4eeb974cb [Java][google-api-client] Fix bug with empty POST request not sending content-type</p></li><li><p>d4543a99e [Java][retrofit2] file upload sets filename as baseName instead of a dynamic filename</p></li><li><p>62a930223 [JAVA][Rest-assured] reqSpec() method has been added into api.mustache for requests custom…</p></li><li><p>fec0363f7 [Java] Add back byte array enhancement</p></li><li><p>59ff4c198 [Java][library: vertx] Add default value and required parameter support to vertx server temp…</p></li><li><p>3bd2da9a8 [Java] Fix build warnings</p></li><li><p>429b96ae7 [JAVA] equals and hashCode for models with byte[] and binary strings</p></li><li><p>495971c2c [Java] use html entities in javadoc of generated code (#106)</p></li><li><p>82ee8656f [java] Enum in array of array (#66)</p></li><li><p>bf7e4e7df Java gson: add @SerializedName value as constant (#22)</p></li><li><p>30c1448d7 Fix build.gradle for Java RESTEasy client</p></li><li><p>642c0566d [Java] Use Rx2 Completalbe for Void Retrofit2 responses</p></li><li><p>72221b1cf Adding @Deprecated to retrofit2 client interfaces.</p></li><li><p>47111b324 [Java] fix gson deserialize format byte</p></li><li><p>9e06f7063 [Java] Fix assignment of new object instance to variable</p></li><li><p>006f084b5 [Java] Allow to set values with setApiPackage(..) and setModelPackage(..)</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="javascriptnodejs"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#javascriptnodejs" title="Direct link to heading">#</a>JavaScript/NodeJS</h3></li><li><p>d80e29585 Fix JS test using baseName in default value (#5)</p></li><li><p>fe15f4690 fix toDefaultValueWithParam in JS</p></li><li><p>90859575e Fixing variable name typo (instane -> instance)</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="objective-c"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#objective-c" title="Direct link to heading">#</a>Objective-C</h3></li><li><p>9fb2c29a4 7644 objc deprecated afnetworking datataskwithrequest</p></li><li><p>5d1874028 add class as a keyword in objc generator</p></li><li><p>1b8df5c20 Update ObjcClientCodegen.java</p></li><li><p>246ed5754 restore objc reserved word: property</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="php"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#php" title="Direct link to heading">#</a>PHP</h3></li><li><p>3beeb4e77 [PHP] Not-required properties now shows as nullable (#129)</p></li><li><p>37df59d6f [PHP] Adjust the names (script, sample folder, generator) to lang option (#159)</p></li><li><p>4a5d16b23 [PHP] Fix string length validation</p></li><li><p>d58835e57 [PHP] Improve: Make validation strict</p></li><li><p>cf8d8d56f [PHP] Fix code example from README. Variable name was missing when using Basic auth.</p></li><li><p>0adbf7e51 [PHP] Improve: update sample tests automatically</p></li><li><p>32cf2f16f [PHP] Non required enum property</p></li><li><p>3bcf0ff76 [PHP] Add path & file separator (/) to return the correct path when deserializing a file</p></li><li><p>14e1e1980 [PHP] Improve validation on empty arrays</p></li><li><p>809e1f4c9 [PHP] Cleanup tests</p></li><li><p>76907cacd [PHP] declare property headerSelector</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="python"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#python" title="Direct link to heading">#</a>Python</h3></li><li><p>7184f1ec6 [python] asyncio supports _preload_content; remove unused imports (#107)</p></li><li><p>d74d2ba03 fix: python clients</p></li><li><p>8e0a0ebd6 Fix python / tornado body handling</p></li><li><p>b39c35c76 Fix inconsistency between model name and file name in python client</p></li><li><p>dfbef4374 Fixed unicode error and supported allow_nonstandard_methods in tornado based python client</p></li><li><p>f6e0e297e [python-asyncio] tests and fixes</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="r"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#r" title="Direct link to heading">#</a>R</h3></li><li><p>61e58d649 Add R namespace file</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="ruby"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#ruby" title="Direct link to heading">#</a>Ruby</h3></li><li><p>a08164592 fix ruby parameters in documentation, fix reuqiredParams, optionalParams</p></li><li><p>8e34f9a98 update to newer version of ruby</p></li><li><p>aa6b217bb [Ruby] Add auto-generated rubocop config file</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="rust"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#rust" title="Direct link to heading">#</a>Rust</h3></li><li><p>b44357394 [Rust] Implement minimal auth support</p></li><li><p>0b845a57e [Rust] Changes hard coded body to dynamic parameter name - </p></li><li><p>a3c97753f [Rust] Handles UUID as string</p></li><li><p>027df610b [Rust] Handle error response statuses</p></li><li><p>66be7a791 [Rust] Add user agent handling for rust template (master) </p></li><li><p>3029b7b0f [Rust] Format example with rustfmt</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="scala"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#scala" title="Direct link to heading">#</a>Scala</h3></li><li><p>197b4481e normalize akka-scala and Java README</p></li><li><p>612cfb7af [Akka-scala] Clean unused dependencies such swagger-core</p></li><li><p>86697fedb [Scala][Gatling] correct body params filename</p></li><li><p>832919b84 [Scala][Akka] Remove unused dep when model package is empty</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="swift"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#swift" title="Direct link to heading">#</a>Swift</h3></li><li><p>40d5d0990 [Swift4] accept empty content with default client</p></li><li><p>3b7230b17 [Swift 4] Fix APIHelper to accept array parameter</p></li><li><p>e22faf4cd [Swift] Add public initializer for modelObject.</p></li><li><p>b184fb1d9 [Swift3] escape URL parameters</p></li><li><p>52f606b8d Fix Swift3 test cases and add pom.xml, travis config for iOS test</p></li><li><p>a3d0f1d4b Swift4: make generated models structs instead of classes</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="typescript"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#typescript" title="Direct link to heading">#</a>TypeScript</h3></li><li><p>f615d823f update ts node dependencies</p></li><li><p>9ac9bc0dc [TypeScript] enhance ts import</p></li><li><p>009dcf009 Mark <code>not required</code> swagger properties as optional typescript properties</p></li><li><p>bdd2c2a4e Misc typescript Angular code generation improvements</p></li><li><p>260375c9e Fix typescript-node generation of array type models</p></li><li><p>d1933b5fc Fix a problem in the generation of typescript-jquery when we have enum in a query param</p></li><li><p>20305139b [Feature][TypeScript] request param enum as literal unions</p></li><li><p>524f162e6 Use supportsES6 flag in ts compilation for language typescript-angular</p></li><li><p>9b8602311 [TypeScript] Make OpenAPI Generator serialize subclasses properly (#102)</p></li><li><p>4bc5ffe86 [typescript-angular] add provided in support (#120)</p></li><li><p>ef832e715 [Feature][TS Angular] improve docs angular import</p></li><li><p>fc7e08346 [TS][Fetch] Add interfaces option</p></li><li><p>157e6b7fa [angular] Add option to generate tagged unions</p></li><li><p>7faaa091c Fix generated module imports in Aurelia APIs</p></li><li><p>b5f0b24ba [TS] fix object declaration in model</p></li><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="api-servers"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#api-servers" title="Direct link to heading">#</a>API Servers</h2></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="c-2"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#c-2" title="Direct link to heading">#</a>C++</h3></li><li><p>6fef0a7ff fix string issue with restbed generator</p></li><li><p>a339422bd move get type declaration method to c++ restbed</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="c-3"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#c-3" title="Direct link to heading">#</a>C#</h3></li><li><p>d9d653016 [aspnetcore] Make the use of Swashbuckle optional (#110)</p></li><li><p>9a8183ab0 [aspnetcore] Fix openapi.json location rename (#56)</p></li><li><p>12abfb968 [aspnetcore] Update Dockerfile</p></li><li><p>866817587 [aspnetcore] Fix string enum generation</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="java-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#java-1" title="Direct link to heading">#</a>Java</h3></li><li><p>bd50d368e [JAVA - jaxrs-reasteasy-eap] Add import to models (#179)</p></li><li><p>7efda597c Fix issue with useBeanValidation option in Java server generators (#160)</p></li><li><p>71b5de3ed Do not set contextPath for spring-boot (#104)</p></li><li><p>b73ab0260 jaxrs-cxf-cdi: fix outer enum (#131)</p></li><li><p>4d7fc046f [JaxRS] Add "validation-api" dependency in jetty (#30)</p></li><li><p>ce930e7a6 [Jaxrs-cxf] Add bean-level cascaded beanvalidation for pojos (@Valid)</p></li><li><p>386b9f432 Modify "postProcessOperations" for "jaxrs-cxf-client" </p></li><li><p>5d92717dc update jaxrs to listent at port 10080</p></li><li><p>7c2031675 update artifict id for jaxrs datelib j8</p></li><li><p>88c5112f2 Adds support for returning response in jaxrs-spec interfaces</p></li><li><p>6bf84d5fa [JAXRS-SPEC] Fix lowercase enums sent as uppercase</p></li><li><p>3a1922bc9 Fix version for "spring-boot-maven-plugin" (#85)</p></li><li><p>161948657 Add reactive option for Spring Boot (webflux)</p></li><li><p>ff1178ad7 [Java][Spring] fix missing optional query params</p></li><li><p>2103fadab Fix package declaration for play-framework</p></li><li><p>2c6380c84 fix inner item (list, map) for play framework</p></li><li><p>e33b350c8 Fix an issue in Play Framework generator where a CSV is empty and transferred to the controllerImp with an empty item.</p></li><li><p>99fc27246 [JAX-RS][Spec] Removes throws Exception.</p></li><li><p>fe2a44339 Fixes issue (SpringCodeGen dateLibrary "java8-localdatetime" option is ignored).</p></li><li><p>d890d733f [JaxRS][Java] issue with implFolder on windows, and required fields generation for containers (#88)</p></li><li><p>c91ce17ae Feature/javaPlayWithAsynchronousControllers</p></li><li><p>f00a1ef52 [JAVA] Correct consumes/produces attributes for Spring Controllers</p></li><li><p>d14318cf2 [JAVA][Spring] Optional params with delegate</p></li><li><p>3f81378d7 [java resteasy] fix string comparison (#134)</p></li><li><p>5ea3d3bb1 [JAX-RS][SPEC] Bug fix that prevents generating interfaces when interfaceOnly is false.</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="kotlin-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#kotlin-1" title="Direct link to heading">#</a>Kotlin</h3></li><li><p>7cad47dd3 [kotlin-server] --library=ktor (barebones implementation)</p></li><li><p>752b36e66 [Kotlin] Sanitize enumeration name to add underscore when it starts with digits (#77)</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="nodejs"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#nodejs" title="Direct link to heading">#</a>NodeJS</h3></li><li><p>6d88d073c [NodeJS] make serverPort configurable via CLI option</p></li><li><p>e7f4fb3c4 Fix nodejs-server path issue in windows platform</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="php-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#php-1" title="Direct link to heading">#</a>PHP</h3></li><li><p>d30fcbabb Fixes for php-ze-ph generator</p></li><li><p>60e3339aa [Feature][PHP] Update for ze-ph generator</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="python-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#python-1" title="Direct link to heading">#</a>Python</h3></li><li><p>62b93fc5c [Python][Flask] Handles UUID format - </p></li><li><p>9999eac52 fix python flask parameter naming</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="scala-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#scala-1" title="Direct link to heading">#</a>Scala</h3></li><li><p>d5c355a59 [Scalatra] Updated the version of Scalatra to the latest (2.6.2)</p></li><li><p>52322c47c [finch] Allow finch server to compile for CI checks (#7)</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="ruby-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#ruby-1" title="Direct link to heading">#</a>Ruby</h3></li><li><p>dcad9ae80 [Rails5] make version of the generated Rails stub server to strict Rails 5.0</p></li><li><h3><a aria-hidden="true" tabindex="-1" class="anchor" id="rust-1"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#rust-1" title="Direct link to heading">#</a>Rust</h3></li><li><p>37faaf926 [rust-server] API version constant and composite version support</p></li><li><p>6c7813e79 [rust-server] asynchronous support via hyper v0.11</p></li><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="documentation"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#documentation" title="Direct link to heading">#</a>Documentation</h2></li><li><p>25a6a9d44 html: fix typo in class name </p></li></ul><ul><li><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="miscellaneous"></a><a aria-hidden="true" tabindex="-1" class="hash-link" href="#miscellaneous" title="Direct link to heading">#</a>Miscellaneous</h2></li><li>f04213285 Cli error message improvements (#172)</li><li>0ece706a4 Remove CodegenConfig.fromModel(String, Schema) method (#90)</li><li>64f2bea37 Fix getReferenced...() methods in ModelUtils (#157)</li><li>16ff5174e Update swagger-parser to 2.0.1 (#123)</li><li>76b7307a6 DefaultGenerator: ignore only form param schemas (#74)</li><li>a3aabd390 Create a default implementation of delegate if none could be autowired (#92)</li><li>ca89af808 Switch to Java 8</li><li>27426f7b5 Cli generator name option, replaces 'language' options in CLI and Maven Plugin (#57)</li><li>a1ff50241 Rename datatype to dataType in CodegenProperty (#69)</li><li>3b9a2a7c3 CaseFormatLambda has been added, params for Rest-assured client has been refactored (#91)</li><li>488910362 Set parameters allowableValues dynamically (#65)</li><li>2821f18b9 Meta: set version for "build-helper-maven-plugin" (#89)</li><li>82d9e935e Add CORS configuration to openapi-generator-online (#71)</li><li>e3814f51d Improvements to online codegen (#55)</li><li>6b8079808 Consider minLength, maxLength and pattern in referenced schema (#45)</li><li>7c5dfbfa0 Minor improvements to OpenAPI Generator Online (#54)</li><li>8dd46a3fb Move online gen from jersey to spring boot (#44)</li><li>803821e21 Fix an issue with example generator when array is too large (#46)</li><li>673f2bc46 Add CodegenProperty.nameInSnakeCase (#42)</li><li>67ebe17dd Fix isPrimitiveType flag for array of form parameters (#38)</li><li>10ac4024d Code clean-up: remove field declaration hiding existing fields (#35)</li><li>ab9c4b5a6 Code clean-up: Add own private static final LOGGER in each class (#26)</li><li>41b0ff351 Code clean-up: remove DefaultCodegen#getSimpleRef(String) (#19)</li><li>13f084e7b Fix dataTypeWithEnum for array of form parameters</li><li>fd3b883e8 [DefaultCodegen] Fill CodegenOperation::produces with unique media types</li><li>db9a899a0 update getSchemaType variable, remove unused import</li><li>d74b4cdf8 fix map type and collection format for form parameter (array)</li><li>d99f46cff Revise how to obtain the example value</li><li>b1eac05b2 Fix form datatype (array of string)</li><li>3c666a6d4 Fix array of form parameters</li><li>1492df6ce Override server port for Jetty configuration</li><li>622a75b2c Fix data type shadowing</li><li>861d11d01 use vendor extension in operation to set the body parameter name</li><li>80c8b92cb add postProcessParamter for body, form parameter</li><li>7fe555a51 Set collectionFormat default only for array</li><li>16589de97 default collection format to csv according to the spec</li><li>edbe4902a Consider '$ref' for consumes and produces in CodegenOperation</li><li>e24238a35 Improve getter name handling for boolean properties</li><li>6e2ca294b update discriminator to discriminatorName</li><li>74075c087 Primitive datatype in Schema components</li><li>d8abd4a14 support map in body parameter</li><li>186594115 Update swagger-core to 2.0.1</li><li>2034f61e5 Add HideGenerationTimestamp getter and setter in the CodegenConfig interface</li><li>d0e2d7684 Getter and Setter for hideGenerationTimestamp</li><li>adbde2fb6 replace fromOperation with postProcessOperations</li><li>9d1ae0dd2 fix bigdecimal in default codegen</li><li>ffa0e115d fix default value and type declaration</li><li>0e744adb8 Apply collection format to SIMPLE enum style</li><li>36ed29852 Tweak tests according to the parameter order changes</li><li>17b082793 Move 'enum_query_double' to parameters section</li><li>28fcf48f4 Add a method returns discriminator name</li><li>7daa2ec5d Fix broken discriminator</li><li>faa901640 Replace with the helper function: <code>getTypeDeclaration</code></li><li>c8650d0e3 Make optional properties in models optional parameters</li><li>40c30dd2f Fix inputSpec for multi module builds</li><li>5326152cc add option to reorder form/body parameter</li><li>d1850091a Improve JMeter Template</li><li>fedfb0cda Factorize addOption/addSwitch method</li><li>e73eeb4fd fix for stripping prefix on single enums</li><li>13e3db59e Add operationIdOriginal to store the original operationId</li><li>0b2d80569 Expose getter/setter for serverPort to facilitate testing</li><li>8e270f465 add vendorExtensions field in CodegenSecurity class</li><li>1ee85de94 Added Intelli J ignore</li><li>7b8e409cf Added gitignore generation function</li></ul></div></article><div class="margin-vert--xl"><div class="row"><div class="col"><a href="https://github.com/OpenAPITools/openapi-generator/edit/master/website/../docs/3.0.0-release-note.md" target="_blank" rel="noreferrer noopener"><svg fill="currentColor" height="1.2em" width="1.2em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 40 40" style="margin-right:0.3em;vertical-align:sub"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col text--right"><em><small>Last updated on <time datetime="2021-02-23T16:31:43.000Z" class="docLastUpdatedAt_1sqk">2/23/2021</time> by <strong>William Cheng</strong></small></em></div></div></div><div class="margin-vert--lg"><nav class="pagination-nav"><div class="pagination-nav__item"><a class="pagination-nav__link" href="/docs/release-summary"><h5 class="pagination-nav__link--sublabel">Previous</h5><h4 class="pagination-nav__link--label">« Release Summary</h4></a></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/docs/generators"><h5 class="pagination-nav__link--sublabel">Next</h5><h4 class="pagination-nav__link--label">Generators List »</h4></a></div></nav></div></div></div><div class="col col--3"><div class="tableOfContents_TbNY"></div></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container"><div class="row footer__links"><div class="col footer__col"><h4 class="footer__title">Docs</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/docs/customization">Customizing Generators</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/installation">Installation</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/integrations">Workflow Integrations</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">Community</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/users">User Showcase</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" rel="noopener noreferrer" href="https://stackoverflow.com/questions/tagged/openapi-generator">Stack Overflow</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" rel="noopener noreferrer" href="https://join.slack.com/t/openapi-generator/shared_invite/enQtNzAyNDMyOTU0OTE1LTY5ZDBiNDI5NzI5ZjQ1Y2E5OWVjMjZkYzY1ZGM2MWQ4YWFjMzcyNDY5MGI4NjQxNDBiMTlmZTc5NjY2ZTQ5MGM">Chat Room</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" rel="noopener noreferrer" href="https://twitter.com/oas_generator">Twitter</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">More</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" rel="noopener noreferrer" href="https://github.com/OpenAPITools/openapi-generator">GitHub</a></li></ul></div></div><div class="text--center"><div class="margin-bottom--sm"><a href="https://openapi-generator.tech/" target="_blank" rel="noopener noreferrer" class="footerLogoLink_1Wg7"><img class="footer__logo" alt="OpenAPI Tools" src="/img/mono-logo.svg"></a></div>Copyright © 2021 OpenAPI-Generator Contributors (https://openapi-generator.tech)</div></div></footer>
|
|
</div>
|
|
|
|
<script src="/styles.376d7561.js"></script>
|
|
|
|
<script src="/runtime~main.b6330a72.js"></script>
|
|
|
|
<script src="/main.e67007e6.js"></script>
|
|
|
|
<script src="/1.e3f0ae73.js"></script>
|
|
|
|
<script src="/2.2314cd3c.js"></script>
|
|
|
|
<script src="/3.07edd713.js"></script>
|
|
|
|
<script src="/1be78505.1826e09b.js"></script>
|
|
|
|
<script src="/20ac7829.73c16132.js"></script>
|
|
|
|
<script src="/17896441.e7e6966c.js"></script>
|
|
|
|
<script src="/f1d7b915.ac69ce6f.js"></script>
|
|
|
|
|
|
</body>
|
|
</html> |