storecove 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/storecove/api/invoice_submissions_api.rb +8 -28
- data/lib/storecove/api/shop_account_requests_api.rb +10 -42
- data/lib/storecove/api/shop_accounts_api.rb +45 -81
- data/lib/storecove/api/shops_api.rb +4 -20
- data/lib/storecove/api_client.rb +16 -19
- data/lib/storecove/api_error.rb +7 -17
- data/lib/storecove/configuration.rb +0 -12
- data/lib/storecove/models/accounting_cost_code.rb +3 -19
- data/lib/storecove/models/accounting_customer_party.rb +7 -15
- data/lib/storecove/models/{party_address.rb → address.rb} +8 -19
- data/lib/storecove/models/{party_contact.rb → contact.rb} +8 -16
- data/lib/storecove/models/country.rb +0 -12
- data/lib/storecove/models/currency_code.rb +0 -12
- data/lib/storecove/models/error_model.rb +3 -15
- data/lib/storecove/models/{invoice_submission_invoice.rb → invoice.rb} +55 -41
- data/lib/storecove/models/invoice_line.rb +12 -22
- data/lib/storecove/models/invoice_recipient.rb +18 -21
- data/lib/storecove/models/invoice_recipient_preflight.rb +11 -15
- data/lib/storecove/models/invoice_submission.rb +15 -16
- data/lib/storecove/models/invoice_submission_result.rb +11 -23
- data/lib/storecove/models/legal_entity.rb +3 -15
- data/lib/storecove/models/legal_entity_identifier.rb +3 -15
- data/lib/storecove/models/logos.rb +3 -15
- data/lib/storecove/models/party.rb +5 -17
- data/lib/storecove/models/preflight_invoice_recipient_result.rb +3 -15
- data/lib/storecove/models/{public_identifiers_inner.rb → public_identifier.rb} +4 -16
- data/lib/storecove/models/public_identifiers.rb +3 -15
- data/lib/storecove/models/shop.rb +3 -15
- data/lib/storecove/models/shop_account_input.rb +19 -15
- data/lib/storecove/models/shop_account_request.rb +7 -15
- data/lib/storecove/models/shop_account_request_input.rb +3 -15
- data/lib/storecove/models/shop_account_request_update.rb +3 -15
- data/lib/storecove/models/{shop_account.rb → shop_account_result.rb} +4 -16
- data/lib/storecove/models/shop_account_update.rb +3 -15
- data/lib/storecove/models/{invoice_line_tax.rb → tax.rb} +16 -16
- data/lib/storecove/version.rb +1 -13
- data/lib/storecove.rb +6 -18
- data/spec/api/invoice_submissions_api_spec.rb +70 -0
- data/spec/api/shop_account_requests_api_spec.rb +107 -0
- data/spec/api/shop_accounts_api_spec.rb +118 -0
- data/spec/api/shops_api_spec.rb +57 -0
- data/spec/api_client_spec.rb +237 -0
- data/spec/configuration_spec.rb +53 -0
- data/spec/models/accounting_cost_code_spec.rb +71 -0
- data/spec/models/accounting_customer_party_spec.rb +59 -0
- data/spec/models/country_spec.rb +47 -0
- data/spec/models/currency_code_spec.rb +47 -0
- data/spec/models/error_model_spec.rb +59 -0
- data/spec/models/invoice_line_spec.rb +95 -0
- data/spec/models/invoice_line_tax_spec.rb +65 -0
- data/spec/models/invoice_recipient_preflight_spec.rb +59 -0
- data/spec/models/invoice_recipient_spec.rb +59 -0
- data/spec/models/invoice_submission_invoice_spec.rb +159 -0
- data/spec/models/invoice_submission_result_spec.rb +53 -0
- data/spec/models/invoice_submission_spec.rb +99 -0
- data/spec/models/legal_entity_identifier_spec.rb +65 -0
- data/spec/models/legal_entity_spec.rb +95 -0
- data/spec/models/logos_spec.rb +65 -0
- data/spec/models/party_address_spec.rb +101 -0
- data/spec/models/party_contact_spec.rb +65 -0
- data/spec/models/party_spec.rb +65 -0
- data/spec/models/preflight_invoice_recipient_result_spec.rb +57 -0
- data/spec/models/public_identifier_spec.rb +59 -0
- data/spec/models/public_identifiers_spec.rb +47 -0
- data/spec/models/shop_account_input_spec.rb +77 -0
- data/spec/models/shop_account_request_input_spec.rb +77 -0
- data/spec/models/shop_account_request_spec.rb +77 -0
- data/spec/models/shop_account_request_update_spec.rb +71 -0
- data/spec/models/shop_account_result_spec.rb +95 -0
- data/spec/models/shop_account_update_spec.rb +65 -0
- data/spec/models/shop_spec.rb +77 -0
- data/spec/spec_helper.rb +122 -0
- metadata +79 -10
- data/lib/storecove/models/swagger-codegen +0 -2799
@@ -1,2799 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
<!DOCTYPE html>
|
6
|
-
<html lang="en" class="">
|
7
|
-
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
|
8
|
-
<meta charset='utf-8'>
|
9
|
-
|
10
|
-
|
11
|
-
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/frameworks-a44e0bdd1666101af23963e4027cd7a0a1eea1339e0e7422524f2e7f3900e86b.css" media="all" rel="stylesheet" />
|
12
|
-
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-ac9c637b29122a4699fcd4d205b2d09efa4d4962d369158f7d907123061143f1.css" media="all" rel="stylesheet" />
|
13
|
-
|
14
|
-
|
15
|
-
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/site-a1797477c6773085524735a03e97c502b07acafa1b95efd6cda07775c7bb7105.css" media="all" rel="stylesheet" />
|
16
|
-
|
17
|
-
|
18
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
19
|
-
<meta http-equiv="Content-Language" content="en">
|
20
|
-
<meta name="viewport" content="width=device-width">
|
21
|
-
|
22
|
-
<title>GitHub - swagger-api/swagger-codegen: swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.</title>
|
23
|
-
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
|
24
|
-
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
25
|
-
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
26
|
-
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
|
27
|
-
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
|
28
|
-
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
|
29
|
-
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
|
30
|
-
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
|
31
|
-
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
|
32
|
-
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
|
33
|
-
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
|
34
|
-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
|
35
|
-
<meta property="fb:app_id" content="1401488693436528">
|
36
|
-
|
37
|
-
<meta content="https://avatars2.githubusercontent.com/u/7658037?v=3&s=400" name="twitter:image:src" /><meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="swagger-api/swagger-codegen" name="twitter:title" /><meta content="swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition." name="twitter:description" />
|
38
|
-
<meta content="https://avatars2.githubusercontent.com/u/7658037?v=3&s=400" property="og:image" /><meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="swagger-api/swagger-codegen" property="og:title" /><meta content="https://github.com/swagger-api/swagger-codegen" property="og:url" /><meta content="swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition." property="og:description" />
|
39
|
-
<meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
|
40
|
-
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
|
41
|
-
<link rel="assets" href="https://assets-cdn.github.com/">
|
42
|
-
|
43
|
-
<meta name="pjax-timeout" content="1000">
|
44
|
-
|
45
|
-
<meta name="request-id" content="BCC2:2957:8FFD3:E1B2C:589A5285" data-pjax-transient>
|
46
|
-
|
47
|
-
|
48
|
-
<meta name="msapplication-TileImage" content="/windows-tile.png">
|
49
|
-
<meta name="msapplication-TileColor" content="#ffffff">
|
50
|
-
<meta name="selected-link" value="repo_source" data-pjax-transient>
|
51
|
-
|
52
|
-
<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
|
53
|
-
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
|
54
|
-
<meta name="google-analytics" content="UA-3769691-2">
|
55
|
-
|
56
|
-
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" /><meta content="BCC2:2957:8FFD3:E1B2C:589A5285" name="octolytics-dimension-request_id" />
|
57
|
-
<meta content="/<user-name>/<repo-name>" data-pjax-transient="true" name="analytics-location" />
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
<meta class="js-ga-set" name="dimension1" content="Logged Out">
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<meta name="hostname" content="github.com">
|
66
|
-
<meta name="user-login" content="">
|
67
|
-
|
68
|
-
<meta name="expected-hostname" content="github.com">
|
69
|
-
<meta name="js-proxy-site-detection-payload" content="ZTc2ZjA0MjE0ZTYyYTExYTgxMzk1NzUzNWI0ODliZmY2MDQxNWFlNGNiMzUxOWRlYTczNzQ2Y2NlYjUxMjM4M3x7InJlbW90ZV9hZGRyZXNzIjoiODYuOTQuMTYzLjE0OCIsInJlcXVlc3RfaWQiOiJCQ0MyOjI5NTc6OEZGRDM6RTFCMkM6NTg5QTUyODUiLCJ0aW1lc3RhbXAiOjE0ODY1MDg2NzgsImhvc3QiOiJnaXRodWIuY29tIn0=">
|
70
|
-
|
71
|
-
|
72
|
-
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#000000">
|
73
|
-
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
|
74
|
-
|
75
|
-
<meta name="html-safe-nonce" content="02ed3503bb9049cfc0611899f554a5817b5e1576">
|
76
|
-
|
77
|
-
<meta http-equiv="x-pjax-version" content="9b646f61bd9139061bf3fa7dcf0b0507">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<meta name="description" content="swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.">
|
82
|
-
<meta name="go-import" content="github.com/swagger-api/swagger-codegen git https://github.com/swagger-api/swagger-codegen.git">
|
83
|
-
|
84
|
-
<meta content="7658037" name="octolytics-dimension-user_id" /><meta content="swagger-api" name="octolytics-dimension-user_login" /><meta content="2006876" name="octolytics-dimension-repository_id" /><meta content="swagger-api/swagger-codegen" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="2006876" name="octolytics-dimension-repository_network_root_id" /><meta content="swagger-api/swagger-codegen" name="octolytics-dimension-repository_network_root_nwo" />
|
85
|
-
<link href="https://github.com/swagger-api/swagger-codegen/commits/master.atom" rel="alternate" title="Recent Commits to swagger-codegen:master" type="application/atom+xml">
|
86
|
-
|
87
|
-
|
88
|
-
<link rel="canonical" href="https://github.com/swagger-api/swagger-codegen" data-pjax-transient>
|
89
|
-
</head>
|
90
|
-
|
91
|
-
|
92
|
-
<body class="logged-out env-production linux vis-public">
|
93
|
-
<div id="js-pjax-loader-bar" class="pjax-loader-bar"><div class="progress"></div></div>
|
94
|
-
<a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<header class="site-header js-details-container Details alt-body-font" role="banner">
|
103
|
-
<div class="container-responsive">
|
104
|
-
<a class="header-logo-invertocat" href="https://github.com/" aria-label="Homepage" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
|
105
|
-
<svg aria-hidden="true" class="octicon octicon-mark-github" height="32" version="1.1" viewBox="0 0 16 16" width="32"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
|
106
|
-
</a>
|
107
|
-
|
108
|
-
<button class="btn-link float-right site-header-toggle js-details-target" type="button" aria-label="Toggle navigation">
|
109
|
-
<svg aria-hidden="true" class="octicon octicon-three-bars" height="24" version="1.1" viewBox="0 0 12 16" width="18"><path fill-rule="evenodd" d="M11.41 9H.59C0 9 0 8.59 0 8c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zm0-4H.59C0 5 0 4.59 0 4c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM.59 11H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1H.59C0 13 0 12.59 0 12c0-.59 0-1 .59-1z"/></svg>
|
110
|
-
</button>
|
111
|
-
|
112
|
-
<div class="site-header-menu">
|
113
|
-
<nav class="site-header-nav site-header-nav-main">
|
114
|
-
<a href="/personal" class="js-selected-navigation-item nav-item nav-item-personal" data-ga-click="Header, click, Nav menu - item:personal" data-selected-links="/personal /personal">
|
115
|
-
Personal
|
116
|
-
</a> <a href="/open-source" class="js-selected-navigation-item nav-item nav-item-opensource" data-ga-click="Header, click, Nav menu - item:opensource" data-selected-links="/open-source /open-source/stories /open-source">
|
117
|
-
Open source
|
118
|
-
</a> <a href="/business" class="js-selected-navigation-item nav-item nav-item-business" data-ga-click="Header, click, Nav menu - item:business" data-selected-links="/business /business/partners /business/features /business/customers /business">
|
119
|
-
Business
|
120
|
-
</a> <a href="/explore" class="js-selected-navigation-item nav-item nav-item-explore" data-ga-click="Header, click, Nav menu - item:explore" data-selected-links="/explore /trending /trending/developers /integrations /integrations/feature/code /integrations/feature/collaborate /integrations/feature/ship /showcases /explore">
|
121
|
-
Explore
|
122
|
-
</a> </nav>
|
123
|
-
|
124
|
-
<div class="site-header-actions">
|
125
|
-
<a class="btn btn-primary site-header-actions-btn" href="/join?source=header-repo" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
|
126
|
-
<a class="btn site-header-actions-btn mr-1" href="/login?return_to=%2Fswagger-api%2Fswagger-codegen" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
|
127
|
-
</div>
|
128
|
-
|
129
|
-
<nav class="site-header-nav site-header-nav-secondary mr-md-3">
|
130
|
-
<a class="nav-item" href="/pricing">Pricing</a>
|
131
|
-
<a class="nav-item" href="/blog">Blog</a>
|
132
|
-
<a class="nav-item" href="https://help.github.com">Support</a>
|
133
|
-
<a class="nav-item header-search-link" href="https://github.com/search">Search GitHub</a>
|
134
|
-
<div class="header-search scoped-search site-scoped-search js-site-search" role="search">
|
135
|
-
<!-- '"` --><!-- </textarea></xmp> --></option></form><form accept-charset="UTF-8" action="/swagger-api/swagger-codegen/search" class="js-site-search-form" data-scoped-search-url="/swagger-api/swagger-codegen/search" data-unscoped-search-url="/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
136
|
-
<label class="form-control header-search-wrapper js-chromeless-input-container">
|
137
|
-
<div class="header-search-scope">This repository</div>
|
138
|
-
<input type="text"
|
139
|
-
class="form-control header-search-input js-site-search-focus js-site-search-field is-clearable"
|
140
|
-
data-hotkey="s"
|
141
|
-
name="q"
|
142
|
-
placeholder="Search"
|
143
|
-
aria-label="Search this repository"
|
144
|
-
data-unscoped-placeholder="Search GitHub"
|
145
|
-
data-scoped-placeholder="Search"
|
146
|
-
autocapitalize="off">
|
147
|
-
</label>
|
148
|
-
</form></div>
|
149
|
-
|
150
|
-
</nav>
|
151
|
-
</div>
|
152
|
-
</div>
|
153
|
-
</header>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<div id="start-of-content" class="accessibility-aid"></div>
|
158
|
-
|
159
|
-
<div id="js-flash-container">
|
160
|
-
</div>
|
161
|
-
|
162
|
-
|
163
|
-
<div role="main">
|
164
|
-
<div itemscope itemtype="http://schema.org/SoftwareSourceCode">
|
165
|
-
<div id="js-repo-pjax-container" data-pjax-container>
|
166
|
-
|
167
|
-
<div class="pagehead repohead instapaper_ignore readability-menu experiment-repo-nav">
|
168
|
-
<div class="container repohead-details-container">
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
<ul class="pagehead-actions">
|
173
|
-
|
174
|
-
<li>
|
175
|
-
<a href="/login?return_to=%2Fswagger-api%2Fswagger-codegen"
|
176
|
-
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
177
|
-
aria-label="You must be signed in to watch a repository" rel="nofollow">
|
178
|
-
<svg aria-hidden="true" class="octicon octicon-eye" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M8.06 2C3 2 0 8 0 8s3 6 8.06 6C13 14 16 8 16 8s-3-6-7.94-6zM8 12c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 2.22-1.78 4-4 4zm2-4c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z"/></svg>
|
179
|
-
Watch
|
180
|
-
</a>
|
181
|
-
<a class="social-count" href="/swagger-api/swagger-codegen/watchers"
|
182
|
-
aria-label="238 users are watching this repository">
|
183
|
-
238
|
184
|
-
</a>
|
185
|
-
|
186
|
-
</li>
|
187
|
-
|
188
|
-
<li>
|
189
|
-
<a href="/login?return_to=%2Fswagger-api%2Fswagger-codegen"
|
190
|
-
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
191
|
-
aria-label="You must be signed in to star a repository" rel="nofollow">
|
192
|
-
<svg aria-hidden="true" class="octicon octicon-star" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74z"/></svg>
|
193
|
-
Star
|
194
|
-
</a>
|
195
|
-
|
196
|
-
<a class="social-count js-social-count" href="/swagger-api/swagger-codegen/stargazers"
|
197
|
-
aria-label="3537 users starred this repository">
|
198
|
-
3,537
|
199
|
-
</a>
|
200
|
-
|
201
|
-
</li>
|
202
|
-
|
203
|
-
<li>
|
204
|
-
<a href="/login?return_to=%2Fswagger-api%2Fswagger-codegen"
|
205
|
-
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
206
|
-
aria-label="You must be signed in to fork a repository" rel="nofollow">
|
207
|
-
<svg aria-hidden="true" class="octicon octicon-repo-forked" height="16" version="1.1" viewBox="0 0 10 16" width="10"><path fill-rule="evenodd" d="M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"/></svg>
|
208
|
-
Fork
|
209
|
-
</a>
|
210
|
-
|
211
|
-
<a href="/swagger-api/swagger-codegen/network" class="social-count"
|
212
|
-
aria-label="1953 users forked this repository">
|
213
|
-
1,953
|
214
|
-
</a>
|
215
|
-
</li>
|
216
|
-
</ul>
|
217
|
-
|
218
|
-
<h1 class="public ">
|
219
|
-
<svg aria-hidden="true" class="octicon octicon-repo" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
|
220
|
-
<span class="author" itemprop="author"><a href="/swagger-api" class="url fn" rel="author">swagger-api</a></span><!--
|
221
|
-
--><span class="path-divider">/</span><!--
|
222
|
-
--><strong itemprop="name"><a href="/swagger-api/swagger-codegen" data-pjax="#js-repo-pjax-container">swagger-codegen</a></strong>
|
223
|
-
|
224
|
-
</h1>
|
225
|
-
|
226
|
-
</div>
|
227
|
-
<div class="container">
|
228
|
-
|
229
|
-
<nav class="reponav js-repo-nav js-sidenav-container-pjax"
|
230
|
-
itemscope
|
231
|
-
itemtype="http://schema.org/BreadcrumbList"
|
232
|
-
role="navigation"
|
233
|
-
data-pjax="#js-repo-pjax-container">
|
234
|
-
|
235
|
-
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
236
|
-
<a href="/swagger-api/swagger-codegen" class="js-selected-navigation-item selected reponav-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /swagger-api/swagger-codegen" itemprop="url">
|
237
|
-
<svg aria-hidden="true" class="octicon octicon-code" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"/></svg>
|
238
|
-
<span itemprop="name">Code</span>
|
239
|
-
<meta itemprop="position" content="1">
|
240
|
-
</a> </span>
|
241
|
-
|
242
|
-
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
243
|
-
<a href="/swagger-api/swagger-codegen/issues" class="js-selected-navigation-item reponav-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /swagger-api/swagger-codegen/issues" itemprop="url">
|
244
|
-
<svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg>
|
245
|
-
<span itemprop="name">Issues</span>
|
246
|
-
<span class="counter">619</span>
|
247
|
-
<meta itemprop="position" content="2">
|
248
|
-
</a> </span>
|
249
|
-
|
250
|
-
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
251
|
-
<a href="/swagger-api/swagger-codegen/pulls" class="js-selected-navigation-item reponav-item" data-hotkey="g p" data-selected-links="repo_pulls /swagger-api/swagger-codegen/pulls" itemprop="url">
|
252
|
-
<svg aria-hidden="true" class="octicon octicon-git-pull-request" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"/></svg>
|
253
|
-
<span itemprop="name">Pull requests</span>
|
254
|
-
<span class="counter">67</span>
|
255
|
-
<meta itemprop="position" content="3">
|
256
|
-
</a> </span>
|
257
|
-
|
258
|
-
<a href="/swagger-api/swagger-codegen/projects" class="js-selected-navigation-item reponav-item" data-selected-links="repo_projects new_repo_project repo_project /swagger-api/swagger-codegen/projects">
|
259
|
-
<svg aria-hidden="true" class="octicon octicon-project" height="16" version="1.1" viewBox="0 0 15 16" width="15"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
|
260
|
-
Projects
|
261
|
-
<span class="counter">0</span>
|
262
|
-
</a>
|
263
|
-
<a href="/swagger-api/swagger-codegen/wiki" class="js-selected-navigation-item reponav-item" data-hotkey="g w" data-selected-links="repo_wiki /swagger-api/swagger-codegen/wiki">
|
264
|
-
<svg aria-hidden="true" class="octicon octicon-book" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M3 5h4v1H3V5zm0 3h4V7H3v1zm0 2h4V9H3v1zm11-5h-4v1h4V5zm0 2h-4v1h4V7zm0 2h-4v1h4V9zm2-6v9c0 .55-.45 1-1 1H9.5l-1 1-1-1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h5.5l1 1 1-1H15c.55 0 1 .45 1 1zm-8 .5L7.5 3H2v9h6V3.5zm7-.5H9.5l-.5.5V12h6V3z"/></svg>
|
265
|
-
Wiki
|
266
|
-
</a>
|
267
|
-
|
268
|
-
<a href="/swagger-api/swagger-codegen/pulse" class="js-selected-navigation-item reponav-item" data-selected-links="pulse /swagger-api/swagger-codegen/pulse">
|
269
|
-
<svg aria-hidden="true" class="octicon octicon-pulse" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M11.5 8L8.8 5.4 6.6 8.5 5.5 1.6 2.38 8H0v2h3.6l.9-1.8.9 5.4L9 8.5l1.6 1.5H14V8z"/></svg>
|
270
|
-
Pulse
|
271
|
-
</a>
|
272
|
-
<a href="/swagger-api/swagger-codegen/graphs" class="js-selected-navigation-item reponav-item" data-selected-links="repo_graphs repo_contributors /swagger-api/swagger-codegen/graphs">
|
273
|
-
<svg aria-hidden="true" class="octicon octicon-graph" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M16 14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z"/></svg>
|
274
|
-
Graphs
|
275
|
-
</a>
|
276
|
-
|
277
|
-
</nav>
|
278
|
-
|
279
|
-
</div>
|
280
|
-
</div>
|
281
|
-
|
282
|
-
<div class="container new-discussion-timeline experiment-repo-nav">
|
283
|
-
<div class="repository-content">
|
284
|
-
|
285
|
-
|
286
|
-
<div class="js-repo-meta-container">
|
287
|
-
<div class="repository-meta mb-0 mb-3 js-repo-meta-edit js-details-container">
|
288
|
-
<div class="repository-meta-content col-11 mb-1">
|
289
|
-
<span class="col-11 text-gray-dark mr-2" itemprop="about">
|
290
|
-
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
|
291
|
-
</span>
|
292
|
-
<span itemprop="url"><a href="http://swagger.io" rel="nofollow">http://swagger.io</a></span>
|
293
|
-
</div>
|
294
|
-
|
295
|
-
</div>
|
296
|
-
|
297
|
-
</div>
|
298
|
-
|
299
|
-
|
300
|
-
<div class="overall-summary overall-summary-bottomless">
|
301
|
-
<div class="stats-switcher-viewport js-stats-switcher-viewport">
|
302
|
-
<div class="stats-switcher-wrapper">
|
303
|
-
<ul class="numbers-summary">
|
304
|
-
<li class="commits">
|
305
|
-
<a data-pjax href="/swagger-api/swagger-codegen/commits/master">
|
306
|
-
<svg aria-hidden="true" class="octicon octicon-history" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M8 13H6V6h5v2H8v5zM7 1C4.81 1 2.87 2.02 1.59 3.59L0 2v4h4L2.5 4.5C3.55 3.17 5.17 2.3 7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-.34.03-.67.09-1H.08C.03 7.33 0 7.66 0 8c0 3.86 3.14 7 7 7s7-3.14 7-7-3.14-7-7-7z"/></svg>
|
307
|
-
<span class="num text-emphasized">
|
308
|
-
7,927
|
309
|
-
</span>
|
310
|
-
commits
|
311
|
-
</a>
|
312
|
-
</li>
|
313
|
-
<li>
|
314
|
-
<a data-pjax href="/swagger-api/swagger-codegen/branches">
|
315
|
-
<svg aria-hidden="true" class="octicon octicon-git-branch" height="16" version="1.1" viewBox="0 0 10 16" width="10"><path fill-rule="evenodd" d="M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"/></svg>
|
316
|
-
<span class="num text-emphasized">
|
317
|
-
16
|
318
|
-
</span>
|
319
|
-
branches
|
320
|
-
</a>
|
321
|
-
</li>
|
322
|
-
|
323
|
-
<li>
|
324
|
-
<a data-pjax href="/swagger-api/swagger-codegen/releases">
|
325
|
-
<svg aria-hidden="true" class="octicon octicon-tag" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M7.73 1.73C7.26 1.26 6.62 1 5.96 1H3.5C2.13 1 1 2.13 1 3.5v2.47c0 .66.27 1.3.73 1.77l6.06 6.06c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41L7.73 1.73zM2.38 7.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59 1.59-1.59h2.47c.42 0 .83.16 1.13.47l6.14 6.13-4.73 4.73-6.13-6.15zM3.01 3h2v2H3V3h.01z"/></svg>
|
326
|
-
<span class="num text-emphasized">
|
327
|
-
17
|
328
|
-
</span>
|
329
|
-
releases
|
330
|
-
</a>
|
331
|
-
</li>
|
332
|
-
|
333
|
-
<li>
|
334
|
-
<a href="/swagger-api/swagger-codegen/graphs/contributors">
|
335
|
-
<svg aria-hidden="true" class="octicon octicon-organization" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M16 12.999c0 .439-.45 1-1 1H7.995c-.539 0-.994-.447-.995-.999H1c-.54 0-1-.561-1-1 0-2.634 3-4 3-4s.229-.409 0-1c-.841-.621-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.442.58 2.5 3c.058 2.41-.159 2.379-1 3-.229.59 0 1 0 1s1.549.711 2.42 2.088C9.196 9.369 10 8.999 10 8.999s.229-.409 0-1c-.841-.62-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.437.581 2.495 3c.059 2.41-.158 2.38-1 3-.229.59 0 1 0 1s3.005 1.366 3.005 4"/></svg>
|
336
|
-
<span class="num text-emphasized">
|
337
|
-
492
|
338
|
-
</span>
|
339
|
-
contributors
|
340
|
-
</a>
|
341
|
-
|
342
|
-
</li>
|
343
|
-
</ul>
|
344
|
-
|
345
|
-
<div class="repository-lang-stats">
|
346
|
-
<ol class="repository-lang-stats-numbers">
|
347
|
-
<li>
|
348
|
-
<a href="/swagger-api/swagger-codegen/search?l=html" data-ga-click="Repository, language stats search click, location:repo overview">
|
349
|
-
<span class="color-block language-color" style="background-color:#e44b23;"></span>
|
350
|
-
<span class="lang">HTML</span>
|
351
|
-
<span class="percent">49.6%</span>
|
352
|
-
</a>
|
353
|
-
</li>
|
354
|
-
<li>
|
355
|
-
<a href="/swagger-api/swagger-codegen/search?l=java" data-ga-click="Repository, language stats search click, location:repo overview">
|
356
|
-
<span class="color-block language-color" style="background-color:#b07219;"></span>
|
357
|
-
<span class="lang">Java</span>
|
358
|
-
<span class="percent">42.3%</span>
|
359
|
-
</a>
|
360
|
-
</li>
|
361
|
-
<li>
|
362
|
-
<a href="/swagger-api/swagger-codegen/search?l=shell" data-ga-click="Repository, language stats search click, location:repo overview">
|
363
|
-
<span class="color-block language-color" style="background-color:#89e051;"></span>
|
364
|
-
<span class="lang">Shell</span>
|
365
|
-
<span class="percent">5.6%</span>
|
366
|
-
</a>
|
367
|
-
</li>
|
368
|
-
<li>
|
369
|
-
<a href="/swagger-api/swagger-codegen/search?l=typescript" data-ga-click="Repository, language stats search click, location:repo overview">
|
370
|
-
<span class="color-block language-color" style="background-color:#2b7489;"></span>
|
371
|
-
<span class="lang">TypeScript</span>
|
372
|
-
<span class="percent">0.7%</span>
|
373
|
-
</a>
|
374
|
-
</li>
|
375
|
-
<li>
|
376
|
-
<a href="/swagger-api/swagger-codegen/search?l=ruby" data-ga-click="Repository, language stats search click, location:repo overview">
|
377
|
-
<span class="color-block language-color" style="background-color:#701516;"></span>
|
378
|
-
<span class="lang">Ruby</span>
|
379
|
-
<span class="percent">0.5%</span>
|
380
|
-
</a>
|
381
|
-
</li>
|
382
|
-
<li>
|
383
|
-
<a href="/swagger-api/swagger-codegen/search?l=actionscript" data-ga-click="Repository, language stats search click, location:repo overview">
|
384
|
-
<span class="color-block language-color" style="background-color:#882B0F;"></span>
|
385
|
-
<span class="lang">ActionScript</span>
|
386
|
-
<span class="percent">0.5%</span>
|
387
|
-
</a>
|
388
|
-
</li>
|
389
|
-
<li>
|
390
|
-
<span class="other">
|
391
|
-
<span class="color-block language-color" style="background-color:#ededed;"></span>
|
392
|
-
<span class="lang">Other</span>
|
393
|
-
<span class="percent">0.8%</span>
|
394
|
-
</span>
|
395
|
-
</li>
|
396
|
-
</ol>
|
397
|
-
</div>
|
398
|
-
</div>
|
399
|
-
</div>
|
400
|
-
</div>
|
401
|
-
|
402
|
-
<div class="repository-lang-stats-graph js-toggle-lang-stats" title="Click for language details" data-ga-click="Repository, language bar stats toggle, location:repo overview">
|
403
|
-
<span class="language-color" aria-label="HTML 49.6%" style="width:49.6%; background-color:#e44b23;" itemprop="keywords">HTML</span>
|
404
|
-
<span class="language-color" aria-label="Java 42.3%" style="width:42.3%; background-color:#b07219;" itemprop="keywords">Java</span>
|
405
|
-
<span class="language-color" aria-label="Shell 5.6%" style="width:5.6%; background-color:#89e051;" itemprop="keywords">Shell</span>
|
406
|
-
<span class="language-color" aria-label="TypeScript 0.7%" style="width:0.7%; background-color:#2b7489;" itemprop="keywords">TypeScript</span>
|
407
|
-
<span class="language-color" aria-label="Ruby 0.5%" style="width:0.5%; background-color:#701516;" itemprop="keywords">Ruby</span>
|
408
|
-
<span class="language-color" aria-label="ActionScript 0.5%" style="width:0.5%; background-color:#882B0F;" itemprop="keywords">ActionScript</span>
|
409
|
-
<span class="language-color" aria-label="Other 0.8%" style="width:0.8%; background-color:#ededed;" itemprop="keywords">Other</span>
|
410
|
-
</div>
|
411
|
-
|
412
|
-
|
413
|
-
<div class="file-navigation in-mid-page">
|
414
|
-
|
415
|
-
<div class="select-menu get-repo-select-menu js-menu-container float-right select-menu-modal-right">
|
416
|
-
<button class="btn btn-sm btn-primary select-menu-button js-menu-target"
|
417
|
-
title="Clone or download this repository"
|
418
|
-
type="button" aria-label="Clone or download this repository" tabindex="0" aria-haspopup="true">
|
419
|
-
<span>Clone or download</span>
|
420
|
-
</button>
|
421
|
-
|
422
|
-
<div class="select-menu-modal-holder dropdown-menu-content js-menu-content" aria-hidden="true">
|
423
|
-
<div class="get-repo-modal dropdown-menu dropdown-menu-sw pb-0 js-toggler-container ">
|
424
|
-
<div class="clone-options https-clone-options">
|
425
|
-
|
426
|
-
<h4 class="mb-1">
|
427
|
-
Clone with HTTPS
|
428
|
-
<a class="muted-link" href="https://help.github.com/articles/which-remote-url-should-i-use" target="_blank">
|
429
|
-
<svg aria-hidden="true" class="octicon octicon-question" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M6 10h2v2H6v-2zm4-3.5C10 8.64 8 9 8 9H6c0-.55.45-1 1-1h.5c.28 0 .5-.22.5-.5v-1c0-.28-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5V7H4c0-1.5 1.5-3 3-3s3 1 3 2.5zM7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7z"/></svg>
|
430
|
-
</a>
|
431
|
-
</h4>
|
432
|
-
<p class="mb-2 get-repo-decription-text">
|
433
|
-
Use Git or checkout with SVN using the web URL.
|
434
|
-
</p>
|
435
|
-
|
436
|
-
<div class="input-group js-zeroclipboard-container">
|
437
|
-
<input type="text" class="form-control input-monospace input-sm js-zeroclipboard-target js-url-field" value="https://github.com/swagger-api/swagger-codegen.git" aria-label="Clone this repository at https://github.com/swagger-api/swagger-codegen.git" readonly>
|
438
|
-
<div class="input-group-button">
|
439
|
-
<button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><svg aria-hidden="true" class="octicon octicon-clippy" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"/></svg></button>
|
440
|
-
</div>
|
441
|
-
</div>
|
442
|
-
|
443
|
-
</div>
|
444
|
-
|
445
|
-
|
446
|
-
<div class="mt-2">
|
447
|
-
|
448
|
-
<a href="/swagger-api/swagger-codegen/archive/master.zip"
|
449
|
-
class="btn btn-outline get-repo-btn
|
450
|
-
"
|
451
|
-
rel="nofollow"
|
452
|
-
data-ga-click="Repository, download zip, location:repo overview">
|
453
|
-
Download ZIP
|
454
|
-
</a>
|
455
|
-
|
456
|
-
</div>
|
457
|
-
</div>
|
458
|
-
</div>
|
459
|
-
</div>
|
460
|
-
|
461
|
-
|
462
|
-
<div class="BtnGroup float-right">
|
463
|
-
|
464
|
-
<a href="/swagger-api/swagger-codegen/find/master"
|
465
|
-
class="btn btn-sm empty-icon float-right BtnGroup-item"
|
466
|
-
data-pjax
|
467
|
-
data-hotkey="t"
|
468
|
-
data-ga-click="Repository, find file, location:repo overview">
|
469
|
-
Find file
|
470
|
-
</a>
|
471
|
-
</div>
|
472
|
-
|
473
|
-
|
474
|
-
<div class="select-menu branch-select-menu js-menu-container js-select-menu float-left">
|
475
|
-
<button class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w"
|
476
|
-
|
477
|
-
type="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
|
478
|
-
<i>Branch:</i>
|
479
|
-
<span class="js-select-button css-truncate-target">master</span>
|
480
|
-
</button>
|
481
|
-
|
482
|
-
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
|
483
|
-
|
484
|
-
<div class="select-menu-modal">
|
485
|
-
<div class="select-menu-header">
|
486
|
-
<svg aria-label="Close" class="octicon octicon-x js-menu-close" height="16" role="img" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"/></svg>
|
487
|
-
<span class="select-menu-title">Switch branches/tags</span>
|
488
|
-
</div>
|
489
|
-
|
490
|
-
<div class="select-menu-filters">
|
491
|
-
<div class="select-menu-text-filter">
|
492
|
-
<input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="form-control js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
|
493
|
-
</div>
|
494
|
-
<div class="select-menu-tabs">
|
495
|
-
<ul>
|
496
|
-
<li class="select-menu-tab">
|
497
|
-
<a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab" role="tab">Branches</a>
|
498
|
-
</li>
|
499
|
-
<li class="select-menu-tab">
|
500
|
-
<a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab" role="tab">Tags</a>
|
501
|
-
</li>
|
502
|
-
</ul>
|
503
|
-
</div>
|
504
|
-
</div>
|
505
|
-
|
506
|
-
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches" role="menu">
|
507
|
-
|
508
|
-
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
|
509
|
-
|
510
|
-
|
511
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
512
|
-
href="/swagger-api/swagger-codegen/tree/2.3.0"
|
513
|
-
data-name="2.3.0"
|
514
|
-
data-skip-pjax="true"
|
515
|
-
rel="nofollow">
|
516
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
517
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
518
|
-
2.3.0
|
519
|
-
</span>
|
520
|
-
</a>
|
521
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
522
|
-
href="/swagger-api/swagger-codegen/tree/develop_2.0"
|
523
|
-
data-name="develop_2.0"
|
524
|
-
data-skip-pjax="true"
|
525
|
-
rel="nofollow">
|
526
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
527
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
528
|
-
develop_2.0
|
529
|
-
</span>
|
530
|
-
</a>
|
531
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
532
|
-
href="/swagger-api/swagger-codegen/tree/feature/generator-options"
|
533
|
-
data-name="feature/generator-options"
|
534
|
-
data-skip-pjax="true"
|
535
|
-
rel="nofollow">
|
536
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
537
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
538
|
-
feature/generator-options
|
539
|
-
</span>
|
540
|
-
</a>
|
541
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
542
|
-
href="/swagger-api/swagger-codegen/tree/feature/issue-1171"
|
543
|
-
data-name="feature/issue-1171"
|
544
|
-
data-skip-pjax="true"
|
545
|
-
rel="nofollow">
|
546
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
547
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
548
|
-
feature/issue-1171
|
549
|
-
</span>
|
550
|
-
</a>
|
551
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
552
|
-
href="/swagger-api/swagger-codegen/tree/feature/threepane"
|
553
|
-
data-name="feature/threepane"
|
554
|
-
data-skip-pjax="true"
|
555
|
-
rel="nofollow">
|
556
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
557
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
558
|
-
feature/threepane
|
559
|
-
</span>
|
560
|
-
</a>
|
561
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
562
|
-
href="/swagger-api/swagger-codegen/tree/issue-1589"
|
563
|
-
data-name="issue-1589"
|
564
|
-
data-skip-pjax="true"
|
565
|
-
rel="nofollow">
|
566
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
567
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
568
|
-
issue-1589
|
569
|
-
</span>
|
570
|
-
</a>
|
571
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
572
|
-
href="/swagger-api/swagger-codegen/tree/issue-3372"
|
573
|
-
data-name="issue-3372"
|
574
|
-
data-skip-pjax="true"
|
575
|
-
rel="nofollow">
|
576
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
577
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
578
|
-
issue-3372
|
579
|
-
</span>
|
580
|
-
</a>
|
581
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
582
|
-
href="/swagger-api/swagger-codegen/tree/issue-4138"
|
583
|
-
data-name="issue-4138"
|
584
|
-
data-skip-pjax="true"
|
585
|
-
rel="nofollow">
|
586
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
587
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
588
|
-
issue-4138
|
589
|
-
</span>
|
590
|
-
</a>
|
591
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
592
|
-
href="/swagger-api/swagger-codegen/tree/issue-4139"
|
593
|
-
data-name="issue-4139"
|
594
|
-
data-skip-pjax="true"
|
595
|
-
rel="nofollow">
|
596
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
597
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
598
|
-
issue-4139
|
599
|
-
</span>
|
600
|
-
</a>
|
601
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
602
|
-
href="/swagger-api/swagger-codegen/tree/issue-4471"
|
603
|
-
data-name="issue-4471"
|
604
|
-
data-skip-pjax="true"
|
605
|
-
rel="nofollow">
|
606
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
607
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
608
|
-
issue-4471
|
609
|
-
</span>
|
610
|
-
</a>
|
611
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
612
|
-
href="/swagger-api/swagger-codegen/tree/issue-4645"
|
613
|
-
data-name="issue-4645"
|
614
|
-
data-skip-pjax="true"
|
615
|
-
rel="nofollow">
|
616
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
617
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
618
|
-
issue-4645
|
619
|
-
</span>
|
620
|
-
</a>
|
621
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
622
|
-
href="/swagger-api/swagger-codegen/tree/jfiala-jaxrs_beanval_final_4091"
|
623
|
-
data-name="jfiala-jaxrs_beanval_final_4091"
|
624
|
-
data-skip-pjax="true"
|
625
|
-
rel="nofollow">
|
626
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
627
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
628
|
-
jfiala-jaxrs_beanval_final_4091
|
629
|
-
</span>
|
630
|
-
</a>
|
631
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
632
|
-
href="/swagger-api/swagger-codegen/tree/jfiala-jaxrs_sh_4720"
|
633
|
-
data-name="jfiala-jaxrs_sh_4720"
|
634
|
-
data-skip-pjax="true"
|
635
|
-
rel="nofollow">
|
636
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
637
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
638
|
-
jfiala-jaxrs_sh_4720
|
639
|
-
</span>
|
640
|
-
</a>
|
641
|
-
<a class="select-menu-item js-navigation-item js-navigation-open selected"
|
642
|
-
href="/swagger-api/swagger-codegen/tree/master"
|
643
|
-
data-name="master"
|
644
|
-
data-skip-pjax="true"
|
645
|
-
rel="nofollow">
|
646
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
647
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
648
|
-
master
|
649
|
-
</span>
|
650
|
-
</a>
|
651
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
652
|
-
href="/swagger-api/swagger-codegen/tree/update_ts_node_petstore"
|
653
|
-
data-name="update_ts_node_petstore"
|
654
|
-
data-skip-pjax="true"
|
655
|
-
rel="nofollow">
|
656
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
657
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
658
|
-
update_ts_node_petstore
|
659
|
-
</span>
|
660
|
-
</a>
|
661
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
662
|
-
href="/swagger-api/swagger-codegen/tree/vvalchev-issue-4664"
|
663
|
-
data-name="vvalchev-issue-4664"
|
664
|
-
data-skip-pjax="true"
|
665
|
-
rel="nofollow">
|
666
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
667
|
-
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text">
|
668
|
-
vvalchev-issue-4664
|
669
|
-
</span>
|
670
|
-
</a>
|
671
|
-
</div>
|
672
|
-
|
673
|
-
<div class="select-menu-no-results">Nothing to show</div>
|
674
|
-
</div>
|
675
|
-
|
676
|
-
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
|
677
|
-
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
|
678
|
-
|
679
|
-
|
680
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
681
|
-
href="/swagger-api/swagger-codegen/tree/v2.2.1"
|
682
|
-
data-name="v2.2.1"
|
683
|
-
data-skip-pjax="true"
|
684
|
-
rel="nofollow">
|
685
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
686
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.2.1">
|
687
|
-
v2.2.1
|
688
|
-
</span>
|
689
|
-
</a>
|
690
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
691
|
-
href="/swagger-api/swagger-codegen/tree/v2.2.0"
|
692
|
-
data-name="v2.2.0"
|
693
|
-
data-skip-pjax="true"
|
694
|
-
rel="nofollow">
|
695
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
696
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.2.0">
|
697
|
-
v2.2.0
|
698
|
-
</span>
|
699
|
-
</a>
|
700
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
701
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.6"
|
702
|
-
data-name="v2.1.6"
|
703
|
-
data-skip-pjax="true"
|
704
|
-
rel="nofollow">
|
705
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
706
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.6">
|
707
|
-
v2.1.6
|
708
|
-
</span>
|
709
|
-
</a>
|
710
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
711
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.5"
|
712
|
-
data-name="v2.1.5"
|
713
|
-
data-skip-pjax="true"
|
714
|
-
rel="nofollow">
|
715
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
716
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.5">
|
717
|
-
v2.1.5
|
718
|
-
</span>
|
719
|
-
</a>
|
720
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
721
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.4"
|
722
|
-
data-name="v2.1.4"
|
723
|
-
data-skip-pjax="true"
|
724
|
-
rel="nofollow">
|
725
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
726
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.4">
|
727
|
-
v2.1.4
|
728
|
-
</span>
|
729
|
-
</a>
|
730
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
731
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.3"
|
732
|
-
data-name="v2.1.3"
|
733
|
-
data-skip-pjax="true"
|
734
|
-
rel="nofollow">
|
735
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
736
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.3">
|
737
|
-
v2.1.3
|
738
|
-
</span>
|
739
|
-
</a>
|
740
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
741
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.2"
|
742
|
-
data-name="v2.1.2"
|
743
|
-
data-skip-pjax="true"
|
744
|
-
rel="nofollow">
|
745
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
746
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.2">
|
747
|
-
v2.1.2
|
748
|
-
</span>
|
749
|
-
</a>
|
750
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
751
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.2-M1"
|
752
|
-
data-name="v2.1.2-M1"
|
753
|
-
data-skip-pjax="true"
|
754
|
-
rel="nofollow">
|
755
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
756
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.2-M1">
|
757
|
-
v2.1.2-M1
|
758
|
-
</span>
|
759
|
-
</a>
|
760
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
761
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.1-M1"
|
762
|
-
data-name="v2.1.1-M1"
|
763
|
-
data-skip-pjax="true"
|
764
|
-
rel="nofollow">
|
765
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
766
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.1-M1">
|
767
|
-
v2.1.1-M1
|
768
|
-
</span>
|
769
|
-
</a>
|
770
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
771
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.0-M2"
|
772
|
-
data-name="v2.1.0-M2"
|
773
|
-
data-skip-pjax="true"
|
774
|
-
rel="nofollow">
|
775
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
776
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.0-M2">
|
777
|
-
v2.1.0-M2
|
778
|
-
</span>
|
779
|
-
</a>
|
780
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
781
|
-
href="/swagger-api/swagger-codegen/tree/v2.1.0-M1"
|
782
|
-
data-name="v2.1.0-M1"
|
783
|
-
data-skip-pjax="true"
|
784
|
-
rel="nofollow">
|
785
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
786
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.1.0-M1">
|
787
|
-
v2.1.0-M1
|
788
|
-
</span>
|
789
|
-
</a>
|
790
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
791
|
-
href="/swagger-api/swagger-codegen/tree/v2.0.18"
|
792
|
-
data-name="v2.0.18"
|
793
|
-
data-skip-pjax="true"
|
794
|
-
rel="nofollow">
|
795
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
796
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.0.18">
|
797
|
-
v2.0.18
|
798
|
-
</span>
|
799
|
-
</a>
|
800
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
801
|
-
href="/swagger-api/swagger-codegen/tree/v2.0.13"
|
802
|
-
data-name="v2.0.13"
|
803
|
-
data-skip-pjax="true"
|
804
|
-
rel="nofollow">
|
805
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
806
|
-
<span class="select-menu-item-text css-truncate-target" title="v2.0.13">
|
807
|
-
v2.0.13
|
808
|
-
</span>
|
809
|
-
</a>
|
810
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
811
|
-
href="/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-2.0.1"
|
812
|
-
data-name="swagger-codegen_2.9.1-2.0.1"
|
813
|
-
data-skip-pjax="true"
|
814
|
-
rel="nofollow">
|
815
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
816
|
-
<span class="select-menu-item-text css-truncate-target" title="swagger-codegen_2.9.1-2.0.1">
|
817
|
-
swagger-codegen_2.9.1-2.0.1
|
818
|
-
</span>
|
819
|
-
</a>
|
820
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
821
|
-
href="/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-2.0.0"
|
822
|
-
data-name="swagger-codegen_2.9.1-2.0.0"
|
823
|
-
data-skip-pjax="true"
|
824
|
-
rel="nofollow">
|
825
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
826
|
-
<span class="select-menu-item-text css-truncate-target" title="swagger-codegen_2.9.1-2.0.0">
|
827
|
-
swagger-codegen_2.9.1-2.0.0
|
828
|
-
</span>
|
829
|
-
</a>
|
830
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
831
|
-
href="/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-1.1"
|
832
|
-
data-name="swagger-codegen_2.9.1-1.1"
|
833
|
-
data-skip-pjax="true"
|
834
|
-
rel="nofollow">
|
835
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
836
|
-
<span class="select-menu-item-text css-truncate-target" title="swagger-codegen_2.9.1-1.1">
|
837
|
-
swagger-codegen_2.9.1-1.1
|
838
|
-
</span>
|
839
|
-
</a>
|
840
|
-
<a class="select-menu-item js-navigation-item js-navigation-open "
|
841
|
-
href="/swagger-api/swagger-codegen/tree/2.0.17"
|
842
|
-
data-name="2.0.17"
|
843
|
-
data-skip-pjax="true"
|
844
|
-
rel="nofollow">
|
845
|
-
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"/></svg>
|
846
|
-
<span class="select-menu-item-text css-truncate-target" title="2.0.17">
|
847
|
-
2.0.17
|
848
|
-
</span>
|
849
|
-
</a>
|
850
|
-
</div>
|
851
|
-
|
852
|
-
<div class="select-menu-no-results">Nothing to show</div>
|
853
|
-
</div>
|
854
|
-
|
855
|
-
</div>
|
856
|
-
</div>
|
857
|
-
</div>
|
858
|
-
|
859
|
-
|
860
|
-
<button type="button" class="btn btn-sm disabled tooltipped tooltipped-n new-pull-request-btn" aria-label="You must be signed in to create a pull request">
|
861
|
-
New pull request
|
862
|
-
</button>
|
863
|
-
|
864
|
-
<div class="breadcrumb">
|
865
|
-
|
866
|
-
</div>
|
867
|
-
</div>
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
<div class="commit-tease js-details-container Details">
|
874
|
-
<span class="float-right">
|
875
|
-
Latest commit
|
876
|
-
<a class="commit-tease-sha" href="/swagger-api/swagger-codegen/commit/69edf282f36df7fff545ea6099f2d5d07f0f0357" data-pjax>
|
877
|
-
69edf28
|
878
|
-
</a>
|
879
|
-
<span itemprop="dateModified"><relative-time datetime="2017-02-07T17:18:30Z">Feb 7, 2017</relative-time></span>
|
880
|
-
</span>
|
881
|
-
|
882
|
-
|
883
|
-
<span class="commit-author-section">
|
884
|
-
<img alt="@wing328" class="avatar" height="20" src="https://avatars2.githubusercontent.com/u/934260?v=3&s=40" width="20" />
|
885
|
-
<a href="/wing328" class="user-mention" rel="contributor">wing328</a>
|
886
|
-
committed on <strong>GitHub</strong>
|
887
|
-
</span>
|
888
|
-
|
889
|
-
<a href="/swagger-api/swagger-codegen/commit/69edf282f36df7fff545ea6099f2d5d07f0f0357" class="message" data-pjax="true" title="add SPINEN">add SPINEN</a>
|
890
|
-
</span>
|
891
|
-
|
892
|
-
</div>
|
893
|
-
|
894
|
-
|
895
|
-
<div class="file-wrap">
|
896
|
-
|
897
|
-
<a href="/swagger-api/swagger-codegen/tree/69edf282f36df7fff545ea6099f2d5d07f0f0357" class="d-none js-permalink-shortcut" data-hotkey="y">Permalink</a>
|
898
|
-
|
899
|
-
<table class="files js-navigation-container js-active-navigation-container" data-pjax>
|
900
|
-
|
901
|
-
|
902
|
-
<tbody>
|
903
|
-
<tr class="warning include-fragment-error">
|
904
|
-
<td class="icon"><svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"/></svg></td>
|
905
|
-
<td class="content" colspan="3">Failed to load latest commit information.</td>
|
906
|
-
</tr>
|
907
|
-
|
908
|
-
<tr class="js-navigation-item">
|
909
|
-
<td class="icon">
|
910
|
-
<svg aria-hidden="true" class="octicon octicon-file-directory" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"/></svg>
|
911
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
912
|
-
</td>
|
913
|
-
<td class="content">
|
914
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/tree/master/.github" class="js-navigation-open" id="01777e4a9846fea5f3fcc8fe40d44680-afe50c9bc7e08d56288255f53b61b537fc72994e" title=".github">.github</a></span>
|
915
|
-
</td>
|
916
|
-
<td class="message">
|
917
|
-
<span class="css-truncate css-truncate-target">
|
918
|
-
<a href="/swagger-api/swagger-codegen/commit/8b681df0e633863d8c046fcc008f091b9300b9b8" class="message" data-pjax="true" title="Mention security script in pull request template">Mention security script in pull request template</a>
|
919
|
-
</span>
|
920
|
-
</td>
|
921
|
-
<td class="age">
|
922
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-09-26T20:21:09Z">Sep 26, 2016</time-ago></span>
|
923
|
-
</td>
|
924
|
-
</tr>
|
925
|
-
<tr class="js-navigation-item">
|
926
|
-
<td class="icon">
|
927
|
-
<svg aria-hidden="true" class="octicon octicon-file-directory" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"/></svg>
|
928
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
929
|
-
</td>
|
930
|
-
<td class="content">
|
931
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/tree/master/bin" class="js-navigation-open" id="c1111bd512b29e821b120b86446026b8-d7c799265e2cad3a4fbbff0a211e694cccfd4004" title="bin">bin</a></span>
|
932
|
-
</td>
|
933
|
-
<td class="message">
|
934
|
-
<span class="css-truncate css-truncate-target">
|
935
|
-
<a href="/swagger-api/swagger-codegen/commit/e9823a81a5d65a894543da4cd68432dc7e568c83" class="message" data-pjax="true" title="[Jaxrs-spec] fix usage of Jersey templates in shellscript (#4722)
|
936
|
-
|
937
|
-
* remove jersey templates #4720
|
938
|
-
|
939
|
-
* regenerate sample with jaxrs-spec templates #4720">[Jaxrs-spec] fix usage of Jersey templates in shellscript (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4722" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4722" data-id="205441662" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4722</a><a href="/swagger-api/swagger-codegen/commit/e9823a81a5d65a894543da4cd68432dc7e568c83" class="message" data-pjax="true" title="[Jaxrs-spec] fix usage of Jersey templates in shellscript (#4722)
|
940
|
-
|
941
|
-
* remove jersey templates #4720
|
942
|
-
|
943
|
-
* regenerate sample with jaxrs-spec templates #4720">)</a>
|
944
|
-
</span>
|
945
|
-
</td>
|
946
|
-
<td class="age">
|
947
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-02-07T16:41:36Z">Feb 7, 2017</time-ago></span>
|
948
|
-
</td>
|
949
|
-
</tr>
|
950
|
-
<tr class="js-navigation-item">
|
951
|
-
<td class="icon">
|
952
|
-
<svg aria-hidden="true" class="octicon octicon-file-directory" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"/></svg>
|
953
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
954
|
-
</td>
|
955
|
-
<td class="content">
|
956
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/tree/master/modules" class="js-navigation-open" id="0eb9b3af2e4a00837a1b1a854c9ea18c-336ff8a952e7dec16039323124939f26d7f33c8c" title="modules">modules</a></span>
|
957
|
-
</td>
|
958
|
-
<td class="message">
|
959
|
-
<span class="css-truncate css-truncate-target">
|
960
|
-
<a href="/swagger-api/swagger-codegen/commit/73395bce44f6560e2c6b5c3b453592d17c14cb54" class="message" data-pjax="true" title="[Bash] Bash generator improvements (#4730)
|
961
|
-
|
962
|
-
* Removed trailing spaces
|
963
|
-
|
964
|
-
* Fixed autocomplete support for bash-completion < 1.4
|
965
|
-
|
966
|
-
* Added mime type autocomplete for Zsh
|
967
|
-
|
968
|
-
* Fixed Bash url autocompletion
|
969
|
-
|
970
|
-
* Fixed Zsh space after operation arguments and added trim to descriptions
|
971
|
-
|
972
|
-
* Added generation of Dockerfile for packaging Bash rest clients
|
973
|
-
|
974
|
-
* updated test samples for Bash client generator">[Bash] Bash generator improvements (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4730" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4730" data-id="205704913" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4730</a><a href="/swagger-api/swagger-codegen/commit/73395bce44f6560e2c6b5c3b453592d17c14cb54" class="message" data-pjax="true" title="[Bash] Bash generator improvements (#4730)
|
975
|
-
|
976
|
-
* Removed trailing spaces
|
977
|
-
|
978
|
-
* Fixed autocomplete support for bash-completion < 1.4
|
979
|
-
|
980
|
-
* Added mime type autocomplete for Zsh
|
981
|
-
|
982
|
-
* Fixed Bash url autocompletion
|
983
|
-
|
984
|
-
* Fixed Zsh space after operation arguments and added trim to descriptions
|
985
|
-
|
986
|
-
* Added generation of Dockerfile for packaging Bash rest clients
|
987
|
-
|
988
|
-
* updated test samples for Bash client generator">)</a>
|
989
|
-
</span>
|
990
|
-
</td>
|
991
|
-
<td class="age">
|
992
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-02-07T15:15:05Z">Feb 7, 2017</time-ago></span>
|
993
|
-
</td>
|
994
|
-
</tr>
|
995
|
-
<tr class="js-navigation-item">
|
996
|
-
<td class="icon">
|
997
|
-
<svg aria-hidden="true" class="octicon octicon-file-directory" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path fill-rule="evenodd" d="M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"/></svg>
|
998
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
999
|
-
</td>
|
1000
|
-
<td class="content">
|
1001
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/tree/master/samples" class="js-navigation-open" id="6ef9161b900632671022358216c7dfe7-090d69d2db27f27448833d317f301b2d1163cccc" title="samples">samples</a></span>
|
1002
|
-
</td>
|
1003
|
-
<td class="message">
|
1004
|
-
<span class="css-truncate css-truncate-target">
|
1005
|
-
<a href="/swagger-api/swagger-codegen/commit/bdf6957c0846fdae6758b027fb84646dceea33e1" class="message" data-pjax="true" title="update jaxrs spec petstore sample (mac)">update jaxrs spec petstore sample (mac)</a>
|
1006
|
-
</span>
|
1007
|
-
</td>
|
1008
|
-
<td class="age">
|
1009
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-02-07T17:07:18Z">Feb 7, 2017</time-ago></span>
|
1010
|
-
</td>
|
1011
|
-
</tr>
|
1012
|
-
<tr class="js-navigation-item">
|
1013
|
-
<td class="icon">
|
1014
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1015
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1016
|
-
</td>
|
1017
|
-
<td class="content">
|
1018
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/.dockerignore" class="js-navigation-open" id="f7c5b4068637e2def526f9bbc7200c4e-75ea5de6ca2f30a743cd2818d1912ae68805b2a7" title=".dockerignore">.dockerignore</a></span>
|
1019
|
-
</td>
|
1020
|
-
<td class="message">
|
1021
|
-
<span class="css-truncate css-truncate-target">
|
1022
|
-
<a href="/swagger-api/swagger-codegen/commit/0103c2f906d40b2e667d1bd9d421b365b3972e25" class="message" data-pjax="true" title="Change the android-volley client codegen to an Android library">Change the android-volley client codegen to an Android library</a>
|
1023
|
-
</span>
|
1024
|
-
</td>
|
1025
|
-
<td class="age">
|
1026
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-01-04T11:09:07Z">Jan 4, 2016</time-ago></span>
|
1027
|
-
</td>
|
1028
|
-
</tr>
|
1029
|
-
<tr class="js-navigation-item">
|
1030
|
-
<td class="icon">
|
1031
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1032
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1033
|
-
</td>
|
1034
|
-
<td class="content">
|
1035
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/.gitignore" class="js-navigation-open" id="a084b794bc0759e7a6b77810e01874f2-f49332b66151b483bec89f831f6ef15e24f89d33" title=".gitignore">.gitignore</a></span>
|
1036
|
-
</td>
|
1037
|
-
<td class="message">
|
1038
|
-
<span class="css-truncate css-truncate-target">
|
1039
|
-
<a href="/swagger-api/swagger-codegen/commit/bbb0cdc8c378b914435618e500a2fad5e953015b" class="message" data-pjax="true" title="update gitignore to include PetStore.pro.user">update gitignore to include PetStore.pro.user</a>
|
1040
|
-
</span>
|
1041
|
-
</td>
|
1042
|
-
<td class="age">
|
1043
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-10-19T08:43:11Z">Oct 19, 2016</time-ago></span>
|
1044
|
-
</td>
|
1045
|
-
</tr>
|
1046
|
-
<tr class="js-navigation-item">
|
1047
|
-
<td class="icon">
|
1048
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1049
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1050
|
-
</td>
|
1051
|
-
<td class="content">
|
1052
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/.travis.objc_swift_test.yml" class="js-navigation-open" id="3a667c8931934cec3aafee779f223e53-8f7cf3b922d21fabad37f0f6de02763cde2a6025" title=".travis.objc_swift_test.yml">.travis.objc_swift_test.yml</a></span>
|
1053
|
-
</td>
|
1054
|
-
<td class="message">
|
1055
|
-
<span class="css-truncate css-truncate-target">
|
1056
|
-
<a href="/swagger-api/swagger-codegen/commit/56d5b54599c44468aa50eb448498e4cbe7843f9b" class="message" data-pjax="true" title="add tests for swift3 client in travis objc/swift config">add tests for swift3 client in travis objc/swift config</a>
|
1057
|
-
</span>
|
1058
|
-
</td>
|
1059
|
-
<td class="age">
|
1060
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-12-07T15:23:40Z">Dec 7, 2016</time-ago></span>
|
1061
|
-
</td>
|
1062
|
-
</tr>
|
1063
|
-
<tr class="js-navigation-item">
|
1064
|
-
<td class="icon">
|
1065
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1066
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1067
|
-
</td>
|
1068
|
-
<td class="content">
|
1069
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/.travis.yml" class="js-navigation-open" id="354f30a63fb0907d4ad57269548329e3-e0290b10205276076137681e59ca59b9df40fca3" title=".travis.yml">.travis.yml</a></span>
|
1070
|
-
</td>
|
1071
|
-
<td class="message">
|
1072
|
-
<span class="css-truncate css-truncate-target">
|
1073
|
-
<a href="/swagger-api/swagger-codegen/commit/0fb154e9a220e3ec3358893c04dace30c312f62d" class="message" data-pjax="true" title="[Bash] Bash client script generator (#4541)
|
1074
|
-
|
1075
|
-
* Initial commit
|
1076
|
-
|
1077
|
-
* Remormatted petstore tests
|
1078
|
-
|
1079
|
-
* Added Bash codegen to main README.md
|
1080
|
-
|
1081
|
-
* Added bash to integration tests
|
1082
|
-
|
1083
|
-
* Fixed stdin detection in generated script
|
1084
|
-
|
1085
|
-
* Added back ruby module">[Bash] Bash client script generator (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4541" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4541" data-id="200250894" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4541</a><a href="/swagger-api/swagger-codegen/commit/0fb154e9a220e3ec3358893c04dace30c312f62d" class="message" data-pjax="true" title="[Bash] Bash client script generator (#4541)
|
1086
|
-
|
1087
|
-
* Initial commit
|
1088
|
-
|
1089
|
-
* Remormatted petstore tests
|
1090
|
-
|
1091
|
-
* Added Bash codegen to main README.md
|
1092
|
-
|
1093
|
-
* Added bash to integration tests
|
1094
|
-
|
1095
|
-
* Fixed stdin detection in generated script
|
1096
|
-
|
1097
|
-
* Added back ruby module">)</a>
|
1098
|
-
</span>
|
1099
|
-
</td>
|
1100
|
-
<td class="age">
|
1101
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-01-12T08:48:25Z">Jan 12, 2017</time-ago></span>
|
1102
|
-
</td>
|
1103
|
-
</tr>
|
1104
|
-
<tr class="js-navigation-item">
|
1105
|
-
<td class="icon">
|
1106
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1107
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1108
|
-
</td>
|
1109
|
-
<td class="content">
|
1110
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md" class="js-navigation-open" id="6a3371457528722a734f3c51d9238c13-e0b6576bf959d4bc7792fe2ac3a95fa5b0f4c2a7" title="CONTRIBUTING.md">CONTRIBUTING.md</a></span>
|
1111
|
-
</td>
|
1112
|
-
<td class="message">
|
1113
|
-
<span class="css-truncate css-truncate-target">
|
1114
|
-
<a href="/swagger-api/swagger-codegen/commit/9bb58d204038c7bee8ed84aa4c1f55343d8529c8" class="message" data-pjax="true" title="add git tip">add git tip</a>
|
1115
|
-
</span>
|
1116
|
-
</td>
|
1117
|
-
<td class="age">
|
1118
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-01-12T15:36:43Z">Jan 12, 2017</time-ago></span>
|
1119
|
-
</td>
|
1120
|
-
</tr>
|
1121
|
-
<tr class="js-navigation-item">
|
1122
|
-
<td class="icon">
|
1123
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1124
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1125
|
-
</td>
|
1126
|
-
<td class="content">
|
1127
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/Dockerfile" class="js-navigation-open" id="3254677a7917c6c01f55212f86c57fbf-1976e1aedd6cc34fb0ac853356c5cd124a6e6aa5" title="Dockerfile">Dockerfile</a></span>
|
1128
|
-
</td>
|
1129
|
-
<td class="message">
|
1130
|
-
<span class="css-truncate css-truncate-target">
|
1131
|
-
<a href="/swagger-api/swagger-codegen/commit/6b0b7a158770e7c52db1da5eeba71710ba68c870" class="message" data-pjax="true" title="[dockerfile] Replace 'maven:3.3-jdk-7' with 'maven:3-jdk-7-alpine'
|
1132
|
-
|
1133
|
-
Signed-off-by: weiyang <weiyang.ones@gmail.com>">[dockerfile] Replace 'maven:3.3-jdk-7' with 'maven:3-jdk-7-alpine'</a>
|
1134
|
-
</span>
|
1135
|
-
</td>
|
1136
|
-
<td class="age">
|
1137
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-01-04T07:06:08Z">Jan 4, 2017</time-ago></span>
|
1138
|
-
</td>
|
1139
|
-
</tr>
|
1140
|
-
<tr class="js-navigation-item">
|
1141
|
-
<td class="icon">
|
1142
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1143
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1144
|
-
</td>
|
1145
|
-
<td class="content">
|
1146
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/LICENSE" class="js-navigation-open" id="9879d6db96fd29134fc802214163b95a-ebfd64c493170efefff814bc891d2be87bafc4d1" itemprop="license" title="LICENSE">LICENSE</a></span>
|
1147
|
-
</td>
|
1148
|
-
<td class="message">
|
1149
|
-
<span class="css-truncate css-truncate-target">
|
1150
|
-
<a href="/swagger-api/swagger-codegen/commit/3a2ad9e2e446f43a6cd71a0e03e3a88828311480" class="message" data-pjax="true" title="Happy new year!">Happy new year!</a>
|
1151
|
-
</span>
|
1152
|
-
</td>
|
1153
|
-
<td class="age">
|
1154
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-01-07T00:04:16Z">Jan 7, 2016</time-ago></span>
|
1155
|
-
</td>
|
1156
|
-
</tr>
|
1157
|
-
<tr class="js-navigation-item">
|
1158
|
-
<td class="icon">
|
1159
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1160
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1161
|
-
</td>
|
1162
|
-
<td class="content">
|
1163
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/README.md" class="js-navigation-open" id="04c6e90faac2675aa89e2176d2eec7d8-f629f5589ff580acc9b4b77f2612eebd772cf1b4" title="README.md">README.md</a></span>
|
1164
|
-
</td>
|
1165
|
-
<td class="message">
|
1166
|
-
<span class="css-truncate css-truncate-target">
|
1167
|
-
<a href="/swagger-api/swagger-codegen/commit/69edf282f36df7fff545ea6099f2d5d07f0f0357" class="message" data-pjax="true" title="add SPINEN">add SPINEN</a>
|
1168
|
-
</span>
|
1169
|
-
</td>
|
1170
|
-
<td class="age">
|
1171
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-02-07T17:18:30Z">Feb 7, 2017</time-ago></span>
|
1172
|
-
</td>
|
1173
|
-
</tr>
|
1174
|
-
<tr class="js-navigation-item">
|
1175
|
-
<td class="icon">
|
1176
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1177
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1178
|
-
</td>
|
1179
|
-
<td class="content">
|
1180
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/Vagrantfile" class="js-navigation-open" id="23b6f443c01ea2efcb4f36eedfea9089-3abbb54ea080c46f9b46804c047301096f0d15bf" title="Vagrantfile">Vagrantfile</a></span>
|
1181
|
-
</td>
|
1182
|
-
<td class="message">
|
1183
|
-
<span class="css-truncate css-truncate-target">
|
1184
|
-
<a href="/swagger-api/swagger-codegen/commit/0a3f0166b0bc024882a11dea9819aa420e62b9ed" class="message" data-pjax="true" title="Run docker without sudo and won't check locale settings">Run docker without sudo and won't check locale settings</a>
|
1185
|
-
</span>
|
1186
|
-
</td>
|
1187
|
-
<td class="age">
|
1188
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-02-03T05:14:04Z">Feb 3, 2016</time-ago></span>
|
1189
|
-
</td>
|
1190
|
-
</tr>
|
1191
|
-
<tr class="js-navigation-item">
|
1192
|
-
<td class="icon">
|
1193
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1194
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1195
|
-
</td>
|
1196
|
-
<td class="content">
|
1197
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/appveyor.yml" class="js-navigation-open" id="180360612c6b8c4ed830919bbb4dd459-ee8df16d71218d8dee033812cd6e00a8da47ba44" title="appveyor.yml">appveyor.yml</a></span>
|
1198
|
-
</td>
|
1199
|
-
<td class="message">
|
1200
|
-
<span class="css-truncate css-truncate-target">
|
1201
|
-
<a href="/swagger-api/swagger-codegen/commit/562ff1a4e1d695eac2cd96fc9027c6dbf1cdf18a" class="message" data-pjax="true" title="Minor fix to issue with Appveyor (#4365)
|
1202
|
-
|
1203
|
-
* show current folder in appveyor ci
|
1204
|
-
|
1205
|
-
* remove cache
|
1206
|
-
|
1207
|
-
* comment out folder delete">Minor fix to issue with Appveyor (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4365" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4365" data-id="194919419" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4365</a><a href="/swagger-api/swagger-codegen/commit/562ff1a4e1d695eac2cd96fc9027c6dbf1cdf18a" class="message" data-pjax="true" title="Minor fix to issue with Appveyor (#4365)
|
1208
|
-
|
1209
|
-
* show current folder in appveyor ci
|
1210
|
-
|
1211
|
-
* remove cache
|
1212
|
-
|
1213
|
-
* comment out folder delete">)</a>
|
1214
|
-
</span>
|
1215
|
-
</td>
|
1216
|
-
<td class="age">
|
1217
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-12-12T09:13:20Z">Dec 12, 2016</time-ago></span>
|
1218
|
-
</td>
|
1219
|
-
</tr>
|
1220
|
-
<tr class="js-navigation-item">
|
1221
|
-
<td class="icon">
|
1222
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1223
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1224
|
-
</td>
|
1225
|
-
<td class="content">
|
1226
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/circle.yml" class="js-navigation-open" id="29944324a3cbf9f4bd0162dfe3975d88-dadbcaca009996b8b6dae7e76eb8674548f89505" title="circle.yml">circle.yml</a></span>
|
1227
|
-
</td>
|
1228
|
-
<td class="message">
|
1229
|
-
<span class="css-truncate css-truncate-target">
|
1230
|
-
<a href="/swagger-api/swagger-codegen/commit/f4fb79822ff4d5a647cf5cf3eb310f96957f840f" class="message" data-pjax="true" title='Add CircleCI configuration in preparation for CI test migration (#4367)
|
1231
|
-
|
1232
|
-
* add codeship yml
|
1233
|
-
|
1234
|
-
* rename ci config
|
1235
|
-
|
1236
|
-
* show rvm version
|
1237
|
-
|
1238
|
-
* use ruby-2.1.0
|
1239
|
-
|
1240
|
-
* check ruby version
|
1241
|
-
|
1242
|
-
* use rvm default
|
1243
|
-
|
1244
|
-
* fix host name
|
1245
|
-
|
1246
|
-
* set node version
|
1247
|
-
|
1248
|
-
* test mvn clean install
|
1249
|
-
|
1250
|
-
* use -q for mvn
|
1251
|
-
|
1252
|
-
* set memory limit
|
1253
|
-
|
1254
|
-
* add export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
|
1255
|
-
|
1256
|
-
* run test only
|
1257
|
-
|
1258
|
-
* update MaxPermSize to 256mb
|
1259
|
-
|
1260
|
-
* run mvn verify
|
1261
|
-
|
1262
|
-
* remove -q
|
1263
|
-
|
1264
|
-
* add comment
|
1265
|
-
|
1266
|
-
* add more comment
|
1267
|
-
|
1268
|
-
* restore ruby model order'>Add CircleCI configuration in preparation for CI test migration (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4367" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4367" data-id="194925237" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4367</a><a href="/swagger-api/swagger-codegen/commit/f4fb79822ff4d5a647cf5cf3eb310f96957f840f" class="message" data-pjax="true" title='Add CircleCI configuration in preparation for CI test migration (#4367)
|
1269
|
-
|
1270
|
-
* add codeship yml
|
1271
|
-
|
1272
|
-
* rename ci config
|
1273
|
-
|
1274
|
-
* show rvm version
|
1275
|
-
|
1276
|
-
* use ruby-2.1.0
|
1277
|
-
|
1278
|
-
* check ruby version
|
1279
|
-
|
1280
|
-
* use rvm default
|
1281
|
-
|
1282
|
-
* fix host name
|
1283
|
-
|
1284
|
-
* set node version
|
1285
|
-
|
1286
|
-
* test mvn clean install
|
1287
|
-
|
1288
|
-
* use -q for mvn
|
1289
|
-
|
1290
|
-
* set memory limit
|
1291
|
-
|
1292
|
-
* add export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
|
1293
|
-
|
1294
|
-
* run test only
|
1295
|
-
|
1296
|
-
* update MaxPermSize to 256mb
|
1297
|
-
|
1298
|
-
* run mvn verify
|
1299
|
-
|
1300
|
-
* remove -q
|
1301
|
-
|
1302
|
-
* add comment
|
1303
|
-
|
1304
|
-
* add more comment
|
1305
|
-
|
1306
|
-
* restore ruby model order'>)</a>
|
1307
|
-
</span>
|
1308
|
-
</td>
|
1309
|
-
<td class="age">
|
1310
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-12-12T09:42:08Z">Dec 12, 2016</time-ago></span>
|
1311
|
-
</td>
|
1312
|
-
</tr>
|
1313
|
-
<tr class="js-navigation-item">
|
1314
|
-
<td class="icon">
|
1315
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1316
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1317
|
-
</td>
|
1318
|
-
<td class="content">
|
1319
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/eclipse-formatter.xml" class="js-navigation-open" id="920569344b0de22da2ff1769cf8a9d18-a2b5fd1e1f024125a1d80b36c6b95e6c9dc033c1" title="eclipse-formatter.xml">eclipse-formatter.xml</a></span>
|
1320
|
-
</td>
|
1321
|
-
<td class="message">
|
1322
|
-
<span class="css-truncate css-truncate-target">
|
1323
|
-
<a href="/swagger-api/swagger-codegen/commit/4c05d5f098d117bf5b5ee9e3edeef9d87efe9682" class="message" data-pjax="true" title="Allow Java source formatting mvn formatter:format (#4214)
|
1324
|
-
|
1325
|
-
Uses Eclipse formatting tools with a configuration matching Google's style guide (plus our customisations).">Allow Java source formatting mvn formatter:format (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4214" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4214" data-id="190342536" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4214</a><a href="/swagger-api/swagger-codegen/commit/4c05d5f098d117bf5b5ee9e3edeef9d87efe9682" class="message" data-pjax="true" title="Allow Java source formatting mvn formatter:format (#4214)
|
1326
|
-
|
1327
|
-
Uses Eclipse formatting tools with a configuration matching Google's style guide (plus our customisations).">)</a>
|
1328
|
-
</span>
|
1329
|
-
</td>
|
1330
|
-
<td class="age">
|
1331
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-11-23T07:07:25Z">Nov 23, 2016</time-ago></span>
|
1332
|
-
</td>
|
1333
|
-
</tr>
|
1334
|
-
<tr class="js-navigation-item">
|
1335
|
-
<td class="icon">
|
1336
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1337
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1338
|
-
</td>
|
1339
|
-
<td class="content">
|
1340
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/google_checkstyle.xml" class="js-navigation-open" id="e77a5106c45705390468369e84e326be-a954a98c11695c8aec293aeaaf8c25a6dde74568" title="google_checkstyle.xml">google_checkstyle.xml</a></span>
|
1341
|
-
</td>
|
1342
|
-
<td class="message">
|
1343
|
-
<span class="css-truncate css-truncate-target">
|
1344
|
-
<a href="/swagger-api/swagger-codegen/commit/0c1b1aa7494be70a599ea1a6285ea4b61f16851a" class="message" data-pjax="true" title="Add Checkstyle to POM with Google settings advice (#4047)
|
1345
|
-
|
1346
|
-
* Add Checkstyle to POM with Google settings advice
|
1347
|
-
|
1348
|
-
* Add note re. changes for swagger-codegen
|
1349
|
-
|
1350
|
-
* Use Checkstyle 6.19 - v7 removed JDK 7 runtime support
|
1351
|
-
|
1352
|
-
* Add a link to the original config">Add Checkstyle to POM with Google settings advice (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4047" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4047" data-id="184530243" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4047</a><a href="/swagger-api/swagger-codegen/commit/0c1b1aa7494be70a599ea1a6285ea4b61f16851a" class="message" data-pjax="true" title="Add Checkstyle to POM with Google settings advice (#4047)
|
1353
|
-
|
1354
|
-
* Add Checkstyle to POM with Google settings advice
|
1355
|
-
|
1356
|
-
* Add note re. changes for swagger-codegen
|
1357
|
-
|
1358
|
-
* Use Checkstyle 6.19 - v7 removed JDK 7 runtime support
|
1359
|
-
|
1360
|
-
* Add a link to the original config">)</a>
|
1361
|
-
</span>
|
1362
|
-
</td>
|
1363
|
-
<td class="age">
|
1364
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-11-01T09:34:28Z">Nov 1, 2016</time-ago></span>
|
1365
|
-
</td>
|
1366
|
-
</tr>
|
1367
|
-
<tr class="js-navigation-item">
|
1368
|
-
<td class="icon">
|
1369
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1370
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1371
|
-
</td>
|
1372
|
-
<td class="content">
|
1373
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/pom.xml" class="js-navigation-open" id="600376dffeb79835ede4a0b285078036-063b84da50d0abe072a5abc0ba1d6d7650015f1c" title="pom.xml">pom.xml</a></span>
|
1374
|
-
</td>
|
1375
|
-
<td class="message">
|
1376
|
-
<span class="css-truncate css-truncate-target">
|
1377
|
-
<a href="/swagger-api/swagger-codegen/commit/0fb154e9a220e3ec3358893c04dace30c312f62d" class="message" data-pjax="true" title="[Bash] Bash client script generator (#4541)
|
1378
|
-
|
1379
|
-
* Initial commit
|
1380
|
-
|
1381
|
-
* Remormatted petstore tests
|
1382
|
-
|
1383
|
-
* Added Bash codegen to main README.md
|
1384
|
-
|
1385
|
-
* Added bash to integration tests
|
1386
|
-
|
1387
|
-
* Fixed stdin detection in generated script
|
1388
|
-
|
1389
|
-
* Added back ruby module">[Bash] Bash client script generator (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/4541" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/4541" data-id="200250894" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#4541</a><a href="/swagger-api/swagger-codegen/commit/0fb154e9a220e3ec3358893c04dace30c312f62d" class="message" data-pjax="true" title="[Bash] Bash client script generator (#4541)
|
1390
|
-
|
1391
|
-
* Initial commit
|
1392
|
-
|
1393
|
-
* Remormatted petstore tests
|
1394
|
-
|
1395
|
-
* Added Bash codegen to main README.md
|
1396
|
-
|
1397
|
-
* Added bash to integration tests
|
1398
|
-
|
1399
|
-
* Fixed stdin detection in generated script
|
1400
|
-
|
1401
|
-
* Added back ruby module">)</a>
|
1402
|
-
</span>
|
1403
|
-
</td>
|
1404
|
-
<td class="age">
|
1405
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2017-01-12T08:48:25Z">Jan 12, 2017</time-ago></span>
|
1406
|
-
</td>
|
1407
|
-
</tr>
|
1408
|
-
<tr class="js-navigation-item">
|
1409
|
-
<td class="icon">
|
1410
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1411
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1412
|
-
</td>
|
1413
|
-
<td class="content">
|
1414
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/run-in-docker.sh" class="js-navigation-open" id="d38826a43246249bd290686af1eaa5e0-39a7601dd0399b13eb8967bce3860563881a4491" title="run-in-docker.sh">run-in-docker.sh</a></span>
|
1415
|
-
</td>
|
1416
|
-
<td class="message">
|
1417
|
-
<span class="css-truncate css-truncate-target">
|
1418
|
-
<a href="/swagger-api/swagger-codegen/commit/d396a0a0e46f59c37e626977751405374e32cecf" class="message" data-pjax="true" title="Friendly error message when project is not built">Friendly error message when project is not built</a>
|
1419
|
-
</span>
|
1420
|
-
</td>
|
1421
|
-
<td class="age">
|
1422
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2015-07-28T20:48:18Z">Jul 28, 2015</time-ago></span>
|
1423
|
-
</td>
|
1424
|
-
</tr>
|
1425
|
-
<tr class="js-navigation-item">
|
1426
|
-
<td class="icon">
|
1427
|
-
<svg aria-hidden="true" class="octicon octicon-file-text" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"/></svg>
|
1428
|
-
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
1429
|
-
</td>
|
1430
|
-
<td class="content">
|
1431
|
-
<span class="css-truncate css-truncate-target"><a href="/swagger-api/swagger-codegen/blob/master/shippable.yml" class="js-navigation-open" id="033d042b39454e8e066ab38fd89610a5-97ed4286983dca96410445732666be8d727fa726" title="shippable.yml">shippable.yml</a></span>
|
1432
|
-
</td>
|
1433
|
-
<td class="message">
|
1434
|
-
<span class="css-truncate css-truncate-target">
|
1435
|
-
<a href="/swagger-api/swagger-codegen/commit/3d7ff26c67eeffa73ce134a3e318a1966e341c1e" class="message" data-pjax="true" title="[C#] Add C# Petstore test to AppVeyor (#3489)
|
1436
|
-
|
1437
|
-
* update appveyor.yml to test c# petstore client
|
1438
|
-
|
1439
|
-
* update csproj file
|
1440
|
-
|
1441
|
-
* add docker version test
|
1442
|
-
|
1443
|
-
* add docker version
|
1444
|
-
|
1445
|
-
* add docker
|
1446
|
-
|
1447
|
-
* add cpuid.ps1
|
1448
|
-
|
1449
|
-
* comment out cpuid
|
1450
|
-
|
1451
|
-
* use start process
|
1452
|
-
|
1453
|
-
* remove mvn test
|
1454
|
-
|
1455
|
-
* remove comments related to docker
|
1456
|
-
|
1457
|
-
* fix appveyor to run local petstore, shippable caching turned on
|
1458
|
-
|
1459
|
-
* add comments to ci config
|
1460
|
-
|
1461
|
-
* remove cpuid.ps1
|
1462
|
-
|
1463
|
-
* update C# petstore sample">[C#] Add C# Petstore test to AppVeyor (</a><a href="https://github.com/swagger-api/swagger-codegen/pull/3489" class="issue-link js-issue-link" data-url="https://github.com/swagger-api/swagger-codegen/issues/3489" data-id="168519061" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#3489</a><a href="/swagger-api/swagger-codegen/commit/3d7ff26c67eeffa73ce134a3e318a1966e341c1e" class="message" data-pjax="true" title="[C#] Add C# Petstore test to AppVeyor (#3489)
|
1464
|
-
|
1465
|
-
* update appveyor.yml to test c# petstore client
|
1466
|
-
|
1467
|
-
* update csproj file
|
1468
|
-
|
1469
|
-
* add docker version test
|
1470
|
-
|
1471
|
-
* add docker version
|
1472
|
-
|
1473
|
-
* add docker
|
1474
|
-
|
1475
|
-
* add cpuid.ps1
|
1476
|
-
|
1477
|
-
* comment out cpuid
|
1478
|
-
|
1479
|
-
* use start process
|
1480
|
-
|
1481
|
-
* remove mvn test
|
1482
|
-
|
1483
|
-
* remove comments related to docker
|
1484
|
-
|
1485
|
-
* fix appveyor to run local petstore, shippable caching turned on
|
1486
|
-
|
1487
|
-
* add comments to ci config
|
1488
|
-
|
1489
|
-
* remove cpuid.ps1
|
1490
|
-
|
1491
|
-
* update C# petstore sample">)</a>
|
1492
|
-
</span>
|
1493
|
-
</td>
|
1494
|
-
<td class="age">
|
1495
|
-
<span class="css-truncate css-truncate-target"><time-ago datetime="2016-07-31T14:37:06Z">Jul 31, 2016</time-ago></span>
|
1496
|
-
</td>
|
1497
|
-
</tr>
|
1498
|
-
</tbody>
|
1499
|
-
</table>
|
1500
|
-
|
1501
|
-
</div>
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
<div id="readme" class="readme boxed-group clearfix announce instapaper_body md">
|
1506
|
-
<h3>
|
1507
|
-
<svg aria-hidden="true" class="octicon octicon-book" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M3 5h4v1H3V5zm0 3h4V7H3v1zm0 2h4V9H3v1zm11-5h-4v1h4V5zm0 2h-4v1h4V7zm0 2h-4v1h4V9zm2-6v9c0 .55-.45 1-1 1H9.5l-1 1-1-1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h5.5l1 1 1-1H15c.55 0 1 .45 1 1zm-8 .5L7.5 3H2v9h6V3.5zm7-.5H9.5l-.5.5V12h6V3z"/></svg>
|
1508
|
-
README.md
|
1509
|
-
</h3>
|
1510
|
-
|
1511
|
-
<article class="markdown-body entry-content" itemprop="text"><h1><a id="user-content-swagger-code-generator" class="anchor" href="#swagger-code-generator" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Swagger Code Generator</h1>
|
1512
|
-
|
1513
|
-
<p><a href="https://travis-ci.org/swagger-api/swagger-codegen"><img src="https://camo.githubusercontent.com/0db538eafc846e9308cf999005f1cf00bb747eee/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f737761676765722d6170692f737761676765722d636f646567656e2e7376673f6c6162656c3d50657473746f7265253230496e746567726174696f6e25323054657374" alt="Build Status" data-canonical-src="https://img.shields.io/travis/swagger-api/swagger-codegen.svg?label=Petstore%20Integration%20Test" style="max-width:100%;"></a>
|
1514
|
-
<a href="https://app.shippable.com/projects/5782588a3be4f4faa56c5bea"><img src="https://camo.githubusercontent.com/bfe5c465408692a051838e75fca27513e85283c7/68747470733a2f2f696d672e736869656c64732e696f2f736869707061626c652f3537383235383861336265346634666161353663356265612e7376673f6c6162656c3d4d7573746163686525323054656d706c61746525323054657374" alt="Run Status" data-canonical-src="https://img.shields.io/shippable/5782588a3be4f4faa56c5bea.svg?label=Mustache%20Template%20Test" style="max-width:100%;"></a>
|
1515
|
-
<a href="https://ci.appveyor.com/project/WilliamCheng/swagger-codegen-wh2wu"><img src="https://camo.githubusercontent.com/8c507947e35c641c0d1f18e23e2acd68f8188335/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6769746875622f737761676765722d6170692f737761676765722d636f646567656e3f6272616e63683d6d6173746572267376673d747275652670617373696e67546578743d57696e646f7773253230546573742532302d2532304f4b266661696c696e67546578743d57696e646f7773253230546573742532302d2532304661696c73" alt="Windows Test" data-canonical-src="https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails" style="max-width:100%;"></a>
|
1516
|
-
<a href="https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-codegen-project"><img src="https://camo.githubusercontent.com/20462a6edad5113f33697b2025c3a399236a911b/68747470733a2f2f6d6176656e2d6261646765732e6865726f6b756170702e636f6d2f6d6176656e2d63656e7472616c2f696f2e737761676765722f737761676765722d636f646567656e2d70726f6a6563742f62616467652e7376673f7374796c653d706c6173746963" alt="Maven Central" data-canonical-src="https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-codegen-project/badge.svg?style=plastic" style="max-width:100%;"></a>
|
1517
|
-
<a href="http://issuestats.com/github/swagger-api/swagger-codegen"><img src="https://camo.githubusercontent.com/761215e446d78167bfa2d6d3e456b99049755392/687474703a2f2f697373756573746174732e636f6d2f6769746875622f737761676765722d6170692f737761676765722d636f646567656e2f62616467652f7072" alt="PR Stats" data-canonical-src="http://issuestats.com/github/swagger-api/swagger-codegen/badge/pr" style="max-width:100%;"></a> <a href="http://issuestats.com/github/swagger-api/swagger-codegen"><img src="https://camo.githubusercontent.com/d02effc54402707c256149b471735e0a0cdacf7d/687474703a2f2f697373756573746174732e636f6d2f6769746875622f737761676765722d6170692f737761676765722d636f646567656e2f62616467652f6973737565" alt="Issue Stats" data-canonical-src="http://issuestats.com/github/swagger-api/swagger-codegen/badge/issue" style="max-width:100%;"></a></p>
|
1518
|
-
|
1519
|
-
<p><g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji><g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji><g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji> If you would like to contribute, please refer to <a href="https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md">guidelines</a> and a list of <a href="https://github.com/swagger-api/swagger-codegen/issues?q=is%3Aopen+is%3Aissue+label%3A%22Need+community+contribution%22">open tasks</a>.<g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji><g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji><g-emoji alias="star" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b50.png" ios-version="6.0">⭐️</g-emoji></p>
|
1520
|
-
|
1521
|
-
<p><g-emoji alias="notebook_with_decorative_cover" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f4d4.png" ios-version="6.0">📔</g-emoji> For more information, please refer to the <a href="https://github.com/swagger-api/swagger-codegen/wiki">Wiki page</a> and <a href="https://github.com/swagger-api/swagger-codegen/wiki/FAQ">FAQ</a> <g-emoji alias="notebook_with_decorative_cover" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f4d4.png" ios-version="6.0">📔</g-emoji></p>
|
1522
|
-
|
1523
|
-
<p><g-emoji alias="warning" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/26a0.png" ios-version="6.0">⚠️</g-emoji> If the OpenAPI/Swagger spec is obtained from an untrusted source, please make sure you've reviewed the spec before using Swagger Codegen to generate the API client, server stub or documentation as <a href="https://en.wikipedia.org/wiki/Code_injection">code injection</a> may occur <g-emoji alias="warning" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/26a0.png" ios-version="6.0">⚠️</g-emoji></p>
|
1524
|
-
|
1525
|
-
<h2><a id="user-content-overview" class="anchor" href="#overview" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Overview</h2>
|
1526
|
-
|
1527
|
-
<p>This is the swagger codegen project, which allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an <a href="https://github.com/OAI/OpenAPI-Specification">OpenAPI Spec</a>. Currently, the following languages/frameworks are supported:</p>
|
1528
|
-
|
1529
|
-
<ul>
|
1530
|
-
<li><strong>API clients</strong>: <strong>ActionScript</strong>, <strong>Bash</strong>, <strong>C#</strong> (.net 2.0, 4.0 or later), <strong>C++</strong> (cpprest, Qt5, Tizen), <strong>Clojure</strong>, <strong>Dart</strong>, <strong>Elixir</strong>, <strong>Go</strong>, <strong>Groovy</strong>, <strong>Haskell</strong>, <strong>Java</strong> (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign), <strong>Node.js</strong> (ES5, ES6, AngularJS with Google Closure Compiler annotations) <strong>Objective-C</strong>, <strong>Perl</strong>, <strong>PHP</strong>, <strong>Python</strong>, <strong>Ruby</strong>, <strong>Scala</strong>, <strong>Swift</strong> (2.x, 3.x), <strong>Typescript</strong> (Angular1.x, Angular2.x, Fetch, Node)</li>
|
1531
|
-
<li><strong>Server stubs</strong>: <strong>C#</strong> (ASP.NET Core, NancyFx), <strong>Erlang</strong>, <strong>Go</strong>, <strong>Haskell</strong>, <strong>Java</strong> (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy), <strong>PHP</strong> (Lumen, Slim, Silex, <a href="https://github.com/zendframework/zend-expressive">Zend Expressive</a>), <strong>Python</strong> (Flask), <strong>NodeJS</strong>, <strong>Ruby</strong> (Sinatra, Rails5), <strong>Scala</strong> (<a href="https://github.com/finagle/finch">Finch</a>, Scalatra)</li>
|
1532
|
-
<li><strong>API documentation generators</strong>: <strong>HTML</strong>, <strong>Confluence Wiki</strong> </li>
|
1533
|
-
<li><strong>Others</strong>: <strong>JMeter</strong></li>
|
1534
|
-
</ul>
|
1535
|
-
|
1536
|
-
<p>Check out <a href="https://github.com/OAI/OpenAPI-Specification">OpenAPI-Spec</a> for additional information about the OpenAPI project.</p>
|
1537
|
-
|
1538
|
-
<h1><a id="user-content-table-of-contents" class="anchor" href="#table-of-contents" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Table of contents</h1>
|
1539
|
-
|
1540
|
-
<ul>
|
1541
|
-
<li><a href="#swagger-code-generator">Swagger Code Generator</a></li>
|
1542
|
-
<li><a href="#overview">Overview</a></li>
|
1543
|
-
<li><a href="#table-of-contents">Table of Contents</a></li>
|
1544
|
-
<li>Installation
|
1545
|
-
|
1546
|
-
<ul>
|
1547
|
-
<li><a href="#compatibility">Compatibility</a></li>
|
1548
|
-
<li><a href="#prerequisites">Prerequisites</a>
|
1549
|
-
|
1550
|
-
<ul>
|
1551
|
-
<li><a href="#os-x-users">OS X Users</a></li>
|
1552
|
-
</ul></li>
|
1553
|
-
<li><a href="#building">Building</a></li>
|
1554
|
-
<li><a href="#docker">Docker</a>
|
1555
|
-
|
1556
|
-
<ul>
|
1557
|
-
<li><a href="#build-and-run-using-docker">Build and run</a></li>
|
1558
|
-
<li><a href="#run-docker-in-vagrant">Run docker in Vagrant</a></li>
|
1559
|
-
<li><a href="#public-docker-image">Public Docker image</a></li>
|
1560
|
-
</ul></li>
|
1561
|
-
<li><a href="#homebrew">Homebrew</a></li>
|
1562
|
-
</ul></li>
|
1563
|
-
<li><a href="#getting-started">Getting Started</a></li>
|
1564
|
-
<li>Generators
|
1565
|
-
|
1566
|
-
<ul>
|
1567
|
-
<li><a href="#to-generate-a-sample-client-library">To generate a sample client library</a></li>
|
1568
|
-
<li><a href="#generating-libraries-from-your-server">Generating libraries from your server</a></li>
|
1569
|
-
<li><a href="#modifying-the-client-library-format">Modifying the client library format</a></li>
|
1570
|
-
<li><a href="#making-your-own-codegen-modules">Making your own codegen modules</a></li>
|
1571
|
-
<li><a href="#where-is-javascript">Where is Javascript???</a></li>
|
1572
|
-
<li><a href="#generating-a-client-from-local-files">Generating a client from local files</a></li>
|
1573
|
-
<li><a href="#customizing-the-generator">Customizing the generator</a></li>
|
1574
|
-
<li><a href="#validating-your-openapi-spec">Validating your OpenAPI Spec</a></li>
|
1575
|
-
<li><a href="#generating-dynamic-html-api-documentation">Generating dynamic html api documentation</a></li>
|
1576
|
-
<li><a href="#generating-static-html-api-documentation">Generating static html api documentation</a></li>
|
1577
|
-
<li><a href="#to-build-a-server-stub">To build a server stub</a></li>
|
1578
|
-
<li><a href="#to-build-the-codegen-library">To build the codegen library</a></li>
|
1579
|
-
</ul></li>
|
1580
|
-
<li><a href="#workflow-integration">Workflow Integration</a></li>
|
1581
|
-
<li><a href="#github-integration">Github Integration</a></li>
|
1582
|
-
<li><a href="#online-generators">Online Generators</a></li>
|
1583
|
-
<li><a href="https://github.com/swagger-api/swagger-codegen/wiki/Guidelines-for-Contribution">Guidelines for Contribution</a></li>
|
1584
|
-
<li><a href="#companiesprojects-using-swagger-codegen">Companies/Projects using Swagger Codegen</a></li>
|
1585
|
-
<li><a href="#swagger-codegen-core-team">Swagger Codegen Core Team</a></li>
|
1586
|
-
<li><a href="#swagger-codegen-evangelist">Swagger Codegen Evangelist</a></li>
|
1587
|
-
<li><a href="#license">License</a></li>
|
1588
|
-
</ul>
|
1589
|
-
|
1590
|
-
<h2><a id="user-content-compatibility" class="anchor" href="#compatibility" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Compatibility</h2>
|
1591
|
-
|
1592
|
-
<p>The OpenAPI Specification has undergone 3 revisions since initial creation in 2010. The swagger-codegen project has the following compatibilities with the OpenAPI Specification:</p>
|
1593
|
-
|
1594
|
-
<table><thead>
|
1595
|
-
<tr>
|
1596
|
-
<th>Swagger Codegen Version</th>
|
1597
|
-
<th>Release Date</th>
|
1598
|
-
<th>OpenAPI Spec compatibility</th>
|
1599
|
-
<th>Notes</th>
|
1600
|
-
</tr>
|
1601
|
-
</thead><tbody>
|
1602
|
-
<tr>
|
1603
|
-
<td>2.3.0 (upcoming minor release)</td>
|
1604
|
-
<td>TBD</td>
|
1605
|
-
<td>1.0, 1.1, 1.2, 2.0</td>
|
1606
|
-
<td>Minor release with breaking changes</td>
|
1607
|
-
</tr>
|
1608
|
-
<tr>
|
1609
|
-
<td>2.2.2 (upcoming patch release)</td>
|
1610
|
-
<td>TBD</td>
|
1611
|
-
<td>1.0, 1.1, 1.2, 2.0</td>
|
1612
|
-
<td>Patch release (without breaking changes)</td>
|
1613
|
-
</tr>
|
1614
|
-
<tr>
|
1615
|
-
<td>2.2.1 (<strong>current stable</strong>)</td>
|
1616
|
-
<td>2016-08-07</td>
|
1617
|
-
<td>1.0, 1.1, 1.2, 2.0</td>
|
1618
|
-
<td><a href="https://github.com/swagger-api/swagger-codegen/tree/v2.2.1">tag v2.2.1</a></td>
|
1619
|
-
</tr>
|
1620
|
-
<tr>
|
1621
|
-
<td>2.1.6</td>
|
1622
|
-
<td>2016-04-06</td>
|
1623
|
-
<td>1.0, 1.1, 1.2, 2.0</td>
|
1624
|
-
<td><a href="https://github.com/swagger-api/swagger-codegen/tree/v2.1.6">tag v2.1.6</a></td>
|
1625
|
-
</tr>
|
1626
|
-
<tr>
|
1627
|
-
<td>2.0.17</td>
|
1628
|
-
<td>2014-08-22</td>
|
1629
|
-
<td>1.1, 1.2</td>
|
1630
|
-
<td><a href="https://github.com/swagger-api/swagger-codegen/tree/v2.0.17">tag v2.0.17</a></td>
|
1631
|
-
</tr>
|
1632
|
-
<tr>
|
1633
|
-
<td>1.0.4</td>
|
1634
|
-
<td>2012-04-12</td>
|
1635
|
-
<td>1.0, 1.1</td>
|
1636
|
-
<td><a href="https://github.com/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-1.1">tag v1.0.4</a></td>
|
1637
|
-
</tr>
|
1638
|
-
</tbody></table>
|
1639
|
-
|
1640
|
-
<h3><a id="user-content-prerequisites" class="anchor" href="#prerequisites" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Prerequisites</h3>
|
1641
|
-
|
1642
|
-
<p>If you're looking for the latest stable version, you can grab it directly from maven central (you'll need java 7 runtime at a minimum):</p>
|
1643
|
-
|
1644
|
-
<pre><code>wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar -O swagger-codegen-cli.jar
|
1645
|
-
|
1646
|
-
java -jar swagger-codegen-cli.jar help
|
1647
|
-
</code></pre>
|
1648
|
-
|
1649
|
-
<p>On a mac, it's even easier with <code>brew</code>:</p>
|
1650
|
-
|
1651
|
-
<pre><code>brew install swagger-codegen
|
1652
|
-
</code></pre>
|
1653
|
-
|
1654
|
-
<p>To build from source, you need the following installed and available in your $PATH:</p>
|
1655
|
-
|
1656
|
-
<ul>
|
1657
|
-
<li><p><a href="http://java.oracle.com">Java 7 or 8</a></p></li>
|
1658
|
-
<li><p><a href="http://maven.apache.org/">Apache maven 3.3.3 or greater</a></p></li>
|
1659
|
-
</ul>
|
1660
|
-
|
1661
|
-
<h4><a id="user-content-os-x-users" class="anchor" href="#os-x-users" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>OS X Users</h4>
|
1662
|
-
|
1663
|
-
<p>Don't forget to install Java 7 or 8. You probably have 1.6.</p>
|
1664
|
-
|
1665
|
-
<p>Export JAVA_HOME in order to use the supported Java version:</p>
|
1666
|
-
|
1667
|
-
<pre><code>export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
|
1668
|
-
export PATH=${JAVA_HOME}/bin:$PATH
|
1669
|
-
</code></pre>
|
1670
|
-
|
1671
|
-
<h3><a id="user-content-building" class="anchor" href="#building" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Building</h3>
|
1672
|
-
|
1673
|
-
<p>After cloning the project, you can build it from source with this command:</p>
|
1674
|
-
|
1675
|
-
<pre><code>mvn clean package
|
1676
|
-
</code></pre>
|
1677
|
-
|
1678
|
-
<h3><a id="user-content-docker" class="anchor" href="#docker" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Docker</h3>
|
1679
|
-
|
1680
|
-
<h4><a id="user-content-build-and-run-using-docker" class="anchor" href="#build-and-run-using-docker" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Build and run using docker</h4>
|
1681
|
-
|
1682
|
-
<pre><code>git clone https://github.com/swagger-api/swagger-codegen
|
1683
|
-
cd swagger-codegen
|
1684
|
-
./run-in-docker.sh mvn package
|
1685
|
-
</code></pre>
|
1686
|
-
|
1687
|
-
<h4><a id="user-content-run-docker-in-vagrant" class="anchor" href="#run-docker-in-vagrant" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Run Docker in Vagrant</h4>
|
1688
|
-
|
1689
|
-
<p>Prerequisite: install <a href="https://www.vagrantup.com/downloads.html">Vagrant</a> and <a href="https://www.virtualbox.org/wiki/Downloads">VirtualBox</a>.</p>
|
1690
|
-
|
1691
|
-
<pre><code>git clone http://github.com/swagger-api/swagger-codegen.git
|
1692
|
-
cd swagger-codegen
|
1693
|
-
vagrant up
|
1694
|
-
vagrant ssh
|
1695
|
-
cd /vagrant
|
1696
|
-
./run-in-docker.sh mvn package
|
1697
|
-
</code></pre>
|
1698
|
-
|
1699
|
-
<h4><a id="user-content-public-docker-image" class="anchor" href="#public-docker-image" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Public Docker image</h4>
|
1700
|
-
|
1701
|
-
<ul>
|
1702
|
-
<li><a href="https://hub.docker.com/r/swaggerapi/swagger-generator/">https://hub.docker.com/r/swaggerapi/swagger-generator/</a> (official)</li>
|
1703
|
-
<li><a href="https://hub.docker.com/r/jimschubert/swagger-codegen-cli/">https://hub.docker.com/r/jimschubert/swagger-codegen-cli/</a> (unofficial)</li>
|
1704
|
-
</ul>
|
1705
|
-
|
1706
|
-
<h3><a id="user-content-homebrew" class="anchor" href="#homebrew" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Homebrew</h3>
|
1707
|
-
|
1708
|
-
<p>To install, run <code>brew install swagger-codegen</code></p>
|
1709
|
-
|
1710
|
-
<p>Here is an example usage:</p>
|
1711
|
-
|
1712
|
-
<pre><code>swagger-codegen generate -i http://petstore.swagger.io/v2/swagger.json -l ruby -o /tmp/test/
|
1713
|
-
</code></pre>
|
1714
|
-
|
1715
|
-
<h2><a id="user-content-getting-started" class="anchor" href="#getting-started" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Getting Started</h2>
|
1716
|
-
|
1717
|
-
<p>To generate a PHP client for <a href="http://petstore.swagger.io/v2/swagger.json">http://petstore.swagger.io/v2/swagger.json</a>, please run the following</p>
|
1718
|
-
|
1719
|
-
<div class="highlight highlight-source-shell"><pre>git clone https://github.com/swagger-api/swagger-codegen
|
1720
|
-
<span class="pl-c1">cd</span> swagger-codegen
|
1721
|
-
mvn clean package
|
1722
|
-
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
|
1723
|
-
-i http://petstore.swagger.io/v2/swagger.json \
|
1724
|
-
-l php \
|
1725
|
-
-o /var/tmp/php_api_client</pre></div>
|
1726
|
-
|
1727
|
-
<p>(if you're on Windows, replace the last command with <code>java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client</code>)</p>
|
1728
|
-
|
1729
|
-
<p>You can also download the JAR (latest release) directly from <a href="http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar">maven.org</a></p>
|
1730
|
-
|
1731
|
-
<p>To get a list of <strong>general</strong> options available, please run <code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate</code></p>
|
1732
|
-
|
1733
|
-
<p>To get a list of PHP specified options (which can be passed to the generator with a config file via the <code>-c</code> option), please run <code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l php</code></p>
|
1734
|
-
|
1735
|
-
<h2><a id="user-content-generators" class="anchor" href="#generators" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Generators</h2>
|
1736
|
-
|
1737
|
-
<h3><a id="user-content-to-generate-a-sample-client-library" class="anchor" href="#to-generate-a-sample-client-library" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>To generate a sample client library</h3>
|
1738
|
-
|
1739
|
-
<p>You can build a client against the swagger sample <a href="http://petstore.swagger.io">petstore</a> API as follows:</p>
|
1740
|
-
|
1741
|
-
<pre><code>./bin/java-petstore.sh
|
1742
|
-
</code></pre>
|
1743
|
-
|
1744
|
-
<p>(On Windows, run <code>.\bin\windows\java-petstore.bat</code> instead)</p>
|
1745
|
-
|
1746
|
-
<p>This will run the generator with this command:</p>
|
1747
|
-
|
1748
|
-
<pre><code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
|
1749
|
-
-i http://petstore.swagger.io/v2/swagger.json \
|
1750
|
-
-l java \
|
1751
|
-
-o samples/client/petstore/java
|
1752
|
-
</code></pre>
|
1753
|
-
|
1754
|
-
<p>with a number of options. You can get the options with the <code>help generate</code> command:</p>
|
1755
|
-
|
1756
|
-
<pre><code>NAME
|
1757
|
-
swagger-codegen-cli generate - Generate code with chosen lang
|
1758
|
-
|
1759
|
-
SYNOPSIS
|
1760
|
-
swagger-codegen-cli generate
|
1761
|
-
[(-a <authorization> | --auth <authorization>)]
|
1762
|
-
[--additional-properties <additional properties>]
|
1763
|
-
[--api-package <api package>] [--artifact-id <artifact id>]
|
1764
|
-
[--artifact-version <artifact version>]
|
1765
|
-
[(-c <configuration file> | --config <configuration file>)]
|
1766
|
-
[-D <system properties>] [--group-id <group id>]
|
1767
|
-
(-i <spec file> | --input-spec <spec file>)
|
1768
|
-
[--import-mappings <import mappings>]
|
1769
|
-
[--instantiation-types <instantiation types>]
|
1770
|
-
[--invoker-package <invoker package>]
|
1771
|
-
(-l <language> | --lang <language>)
|
1772
|
-
[--language-specific-primitives <language specific primitives>]
|
1773
|
-
[--library <library>] [--model-package <model package>]
|
1774
|
-
[(-o <output directory> | --output <output directory>)]
|
1775
|
-
[(-s | --skip-overwrite)]
|
1776
|
-
[(-t <template directory> | --template-dir <template directory>)]
|
1777
|
-
[--type-mappings <type mappings>] [(-v | --verbose)]
|
1778
|
-
|
1779
|
-
OPTIONS
|
1780
|
-
-a <authorization>, --auth <authorization>
|
1781
|
-
adds authorization headers when fetching the swagger definitions
|
1782
|
-
remotely. Pass in a URL-encoded string of name:header with a comma
|
1783
|
-
separating multiple values
|
1784
|
-
|
1785
|
-
--additional-properties <additional properties>
|
1786
|
-
sets additional properties that can be referenced by the mustache
|
1787
|
-
templates in the format of name=value,name=value
|
1788
|
-
|
1789
|
-
--api-package <api package>
|
1790
|
-
package for generated api classes
|
1791
|
-
|
1792
|
-
--artifact-id <artifact id>
|
1793
|
-
artifactId in generated pom.xml
|
1794
|
-
|
1795
|
-
--artifact-version <artifact version>
|
1796
|
-
artifact version in generated pom.xml
|
1797
|
-
|
1798
|
-
-c <configuration file>, --config <configuration file>
|
1799
|
-
Path to json configuration file. File content should be in a json
|
1800
|
-
format {"optionKey":"optionValue", "optionKey1":"optionValue1"...}
|
1801
|
-
Supported options can be different for each language. Run
|
1802
|
-
config-help -l {lang} command for language specific config options.
|
1803
|
-
|
1804
|
-
-D <system properties>
|
1805
|
-
sets specified system properties in the format of
|
1806
|
-
name=value,name=value
|
1807
|
-
|
1808
|
-
--group-id <group id>
|
1809
|
-
groupId in generated pom.xml
|
1810
|
-
|
1811
|
-
-i <spec file>, --input-spec <spec file>
|
1812
|
-
location of the swagger spec, as URL or file (required)
|
1813
|
-
|
1814
|
-
|
1815
|
-
--import-mappings <import mappings>
|
1816
|
-
specifies mappings between a given class and the import that should
|
1817
|
-
be used for that class in the format of type=import,type=import
|
1818
|
-
|
1819
|
-
--instantiation-types <instantiation types>
|
1820
|
-
sets instantiation type mappings in the format of
|
1821
|
-
type=instantiatedType,type=instantiatedType.For example (in Java):
|
1822
|
-
array=ArrayList,map=HashMap. In other words array types will get
|
1823
|
-
instantiated as ArrayList in generated code.
|
1824
|
-
|
1825
|
-
--invoker-package <invoker package>
|
1826
|
-
root package for generated code
|
1827
|
-
|
1828
|
-
-l <language>, --lang <language>
|
1829
|
-
client language to generate (maybe class name in classpath,
|
1830
|
-
required)
|
1831
|
-
|
1832
|
-
--language-specific-primitives <language specific primitives>
|
1833
|
-
specifies additional language specific primitive types in the format
|
1834
|
-
of type1,type2,type3,type3. For example:
|
1835
|
-
String,boolean,Boolean,Double
|
1836
|
-
|
1837
|
-
--library <library>
|
1838
|
-
library template (sub-template)
|
1839
|
-
|
1840
|
-
--model-package <model package>
|
1841
|
-
package for generated models
|
1842
|
-
|
1843
|
-
-o <output directory>, --output <output directory>
|
1844
|
-
where to write the generated files (current dir by default)
|
1845
|
-
|
1846
|
-
-s, --skip-overwrite
|
1847
|
-
specifies if the existing files should be overwritten during the
|
1848
|
-
generation.
|
1849
|
-
|
1850
|
-
-t <template directory>, --template-dir <template directory>
|
1851
|
-
folder containing the template files
|
1852
|
-
|
1853
|
-
--type-mappings <type mappings>
|
1854
|
-
sets mappings between swagger spec types and generated code types in
|
1855
|
-
the format of swaggerType=generatedType,swaggerType=generatedType.
|
1856
|
-
For example: array=List,map=Map,string=String
|
1857
|
-
|
1858
|
-
--reserved-words-mappings <import mappings>
|
1859
|
-
specifies how a reserved name should be escaped to. Otherwise, the
|
1860
|
-
default _<name> is used. For example id=identifier
|
1861
|
-
|
1862
|
-
-v, --verbose
|
1863
|
-
verbose mode
|
1864
|
-
|
1865
|
-
</code></pre>
|
1866
|
-
|
1867
|
-
<p>You can then compile and run the client, as well as unit tests against it:</p>
|
1868
|
-
|
1869
|
-
<pre><code>cd samples/client/petstore/java
|
1870
|
-
mvn package
|
1871
|
-
</code></pre>
|
1872
|
-
|
1873
|
-
<p>Other languages have petstore samples, too:</p>
|
1874
|
-
|
1875
|
-
<pre><code>./bin/android-petstore.sh
|
1876
|
-
./bin/java-petstore.sh
|
1877
|
-
./bin/objc-petstore.sh
|
1878
|
-
</code></pre>
|
1879
|
-
|
1880
|
-
<h3><a id="user-content-generating-libraries-from-your-server" class="anchor" href="#generating-libraries-from-your-server" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Generating libraries from your server</h3>
|
1881
|
-
|
1882
|
-
<p>It's just as easy--just use the <code>-i</code> flag to point to either a server or file.</p>
|
1883
|
-
|
1884
|
-
<h3><a id="user-content-modifying-the-client-library-format" class="anchor" href="#modifying-the-client-library-format" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Modifying the client library format</h3>
|
1885
|
-
|
1886
|
-
<p>Don't like the default swagger client syntax? Want a different language supported? No problem! Swagger codegen processes mustache templates with the <a href="https://github.com/samskivert/jmustache">jmustache</a> engine. You can modify our templates or make your own.</p>
|
1887
|
-
|
1888
|
-
<p>You can look at <code>modules/swagger-codegen/src/main/resources/${your-language}</code> for examples. To make your own templates, create your own files and use the <code>-t</code> flag to specify your template folder. It actually is that easy.</p>
|
1889
|
-
|
1890
|
-
<h3><a id="user-content-making-your-own-codegen-modules" class="anchor" href="#making-your-own-codegen-modules" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Making your own codegen modules</h3>
|
1891
|
-
|
1892
|
-
<p>If you're starting a project with a new language and don't see what you need, swagger-codegen can help you create a project to generate your own libraries:</p>
|
1893
|
-
|
1894
|
-
<pre><code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar meta \
|
1895
|
-
-o output/myLibrary -n myClientCodegen -p com.my.company.codegen
|
1896
|
-
</code></pre>
|
1897
|
-
|
1898
|
-
<p>This will write, in the folder <code>output/myLibrary</code>, all the files you need to get started, including a README.md. Once modified and compiled, you can load your library with the codegen and generate clients with your own, custom-rolled logic.</p>
|
1899
|
-
|
1900
|
-
<p>You would then compile your library in the <code>output/myLibrary</code> folder with <code>mvn package</code> and execute the codegen like such:</p>
|
1901
|
-
|
1902
|
-
<pre><code>java -cp output/myLibrary/target/myClientCodegen-swagger-codegen-1.0.0.jar:modules/swagger-codegen-cli/target/swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen
|
1903
|
-
</code></pre>
|
1904
|
-
|
1905
|
-
<p>For Windows users, you will need to use <code>;</code> instead of <code>:</code> in the classpath, e.g.</p>
|
1906
|
-
|
1907
|
-
<pre><code>java -cp output/myLibrary/target/myClientCodegen-swagger-codegen-1.0.0.jar;modules/swagger-codegen-cli/target/swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen
|
1908
|
-
</code></pre>
|
1909
|
-
|
1910
|
-
<p>Note the <code>myClientCodegen</code> is an option now, and you can use the usual arguments for generating your library:</p>
|
1911
|
-
|
1912
|
-
<pre><code>java -cp output/myLibrary/target/myClientCodegen-swagger-codegen-1.0.0.jar:modules/swagger-codegen-cli/target/swagger-codegen-cli.jar \
|
1913
|
-
io.swagger.codegen.SwaggerCodegen generate -l myClientCodegen\
|
1914
|
-
-i http://petstore.swagger.io/v2/swagger.json \
|
1915
|
-
-o myClient
|
1916
|
-
</code></pre>
|
1917
|
-
|
1918
|
-
<h3><a id="user-content-where-is-javascript" class="anchor" href="#where-is-javascript" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Where is Javascript???</h3>
|
1919
|
-
|
1920
|
-
<p>See our <a href="http://github.com/swagger-api/swagger-js">javascript library</a>--it's completely dynamic and doesn't require
|
1921
|
-
static code generation.
|
1922
|
-
There is a third-party component called <a href="https://github.com/wcandillon/swagger-js-codegen">swagger-js-codegen</a> that can generate angularjs or nodejs source code from a OpenAPI Specification.</p>
|
1923
|
-
|
1924
|
-
<p><g-emoji alias="exclamation" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/2757.png" ios-version="6.0">❗️</g-emoji> On Dec 7th 2015, a Javascript API client generator has been added by @jfiala.</p>
|
1925
|
-
|
1926
|
-
<h3><a id="user-content-generating-a-client-from-local-files" class="anchor" href="#generating-a-client-from-local-files" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Generating a client from local files</h3>
|
1927
|
-
|
1928
|
-
<p>If you don't want to call your server, you can save the OpenAPI Spec files into a directory and pass an argument
|
1929
|
-
to the code generator like this:</p>
|
1930
|
-
|
1931
|
-
<pre><code>-i ./modules/swagger-codegen/src/test/resources/2_0/petstore.json
|
1932
|
-
</code></pre>
|
1933
|
-
|
1934
|
-
<p>Great for creating libraries on your ci server, from the <a href="http://editor.swagger.io">Swagger Editor</a>... or while coding on an airplane.</p>
|
1935
|
-
|
1936
|
-
<h3><a id="user-content-selective-generation" class="anchor" href="#selective-generation" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Selective generation</h3>
|
1937
|
-
|
1938
|
-
<p>You may not want to generate <em>all</em> models in your project. Likewise you may want just one or two apis to be written. If that's the case, you can use system properties to control the output:</p>
|
1939
|
-
|
1940
|
-
<p>The default is generate <em>everything</em> supported by the specific library. Once you enable a feature, it will restrict the contents generated:</p>
|
1941
|
-
|
1942
|
-
<pre><code># generate only models
|
1943
|
-
java -Dmodels {opts}
|
1944
|
-
|
1945
|
-
# generate only apis
|
1946
|
-
java -Dapis {opts}
|
1947
|
-
|
1948
|
-
# generate only supporting files
|
1949
|
-
java -DsupportingFiles
|
1950
|
-
|
1951
|
-
# generate models and supporting files
|
1952
|
-
java -Dmodels -DsupportingFiles
|
1953
|
-
</code></pre>
|
1954
|
-
|
1955
|
-
<p>To control the specific files being generated, you can pass a CSV list of what you want:</p>
|
1956
|
-
|
1957
|
-
<pre><code># generate the User and Pet models only
|
1958
|
-
-Dmodels=User,Pet
|
1959
|
-
|
1960
|
-
# generate the User model and the supportingFile `StringUtil.java`:
|
1961
|
-
-Dmodels=User -DsupportingFiles=StringUtil.java
|
1962
|
-
</code></pre>
|
1963
|
-
|
1964
|
-
<p>To control generation of docs and tests for api and models, pass false to the option. For api, these options are <code>-DapiTests=false</code> and <code>-DapiDocs=false</code>. For models, <code>-DmodelTests=false</code> and <code>-DmodelDocs=false</code>.
|
1965
|
-
These options default to true and don't limit the generation of the feature options listed above (like <code>-Dapi</code>):</p>
|
1966
|
-
|
1967
|
-
<pre><code># generate only models (with tests and documentation)
|
1968
|
-
java -Dmodels {opts}
|
1969
|
-
|
1970
|
-
# generate only models (with tests but no documentation)
|
1971
|
-
java -Dmodels -DmodelDocs=false {opts}
|
1972
|
-
|
1973
|
-
# generate only User and Pet models (no tests and no documentation)
|
1974
|
-
java -Dmodels=User,Pet -DmodelTests=false {opts}
|
1975
|
-
|
1976
|
-
# generate only apis (without tests)
|
1977
|
-
java -Dapis -DapiTests=false {opts}
|
1978
|
-
|
1979
|
-
# generate only apis (modelTests option is ignored)
|
1980
|
-
java -Dapis -DmodelTests=false {opts}
|
1981
|
-
</code></pre>
|
1982
|
-
|
1983
|
-
<p>When using selective generation, <em>only</em> the templates needed for the specific generation will be used.</p>
|
1984
|
-
|
1985
|
-
<h3><a id="user-content-ignore-file-format" class="anchor" href="#ignore-file-format" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Ignore file format</h3>
|
1986
|
-
|
1987
|
-
<p>Swagger codegen supports a <code>.swagger-codegen-ignore</code> file, similar to <code>.gitignore</code> or <code>.dockerignore</code> you're probably already familiar with.</p>
|
1988
|
-
|
1989
|
-
<p>The ignore file allows for better control over overwriting existing files than the <code>--skip-overwrite</code> flag. With the ignore file, you can specify individual files or directories can be ignored. This can be useful, for example if you only want a subset of the generated code.</p>
|
1990
|
-
|
1991
|
-
<p>Examples:</p>
|
1992
|
-
|
1993
|
-
<pre><code># Swagger Codegen Ignore
|
1994
|
-
# Lines beginning with a # are comments
|
1995
|
-
|
1996
|
-
# This should match build.sh located anywhere.
|
1997
|
-
build.sh
|
1998
|
-
|
1999
|
-
# Matches build.sh in the root
|
2000
|
-
/build.sh
|
2001
|
-
|
2002
|
-
# Exclude all recursively
|
2003
|
-
docs/**
|
2004
|
-
|
2005
|
-
# Explicitly allow files excluded by other rules
|
2006
|
-
!docs/UserApi.md
|
2007
|
-
|
2008
|
-
# Recursively exclude directories named Api
|
2009
|
-
# You can't negate files below this directory.
|
2010
|
-
src/**/Api/
|
2011
|
-
|
2012
|
-
# When this file is nested under /Api (excluded above),
|
2013
|
-
# this rule is ignored because parent directory is excluded by previous rule.
|
2014
|
-
!src/**/PetApiTests.cs
|
2015
|
-
|
2016
|
-
# Exclude a single, nested file explicitly
|
2017
|
-
src/IO.Swagger.Test/Model/AnimalFarmTests.cs
|
2018
|
-
</code></pre>
|
2019
|
-
|
2020
|
-
<p>The <code>.swagger-codegen-ignore</code> file must exist in the root of the output directory.</p>
|
2021
|
-
|
2022
|
-
<h3><a id="user-content-customizing-the-generator" class="anchor" href="#customizing-the-generator" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Customizing the generator</h3>
|
2023
|
-
|
2024
|
-
<p>There are different aspects of customizing the code generator beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:</p>
|
2025
|
-
|
2026
|
-
<pre><code>$ ls -1 modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/
|
2027
|
-
AbstractJavaJAXRSServerCodegen.java
|
2028
|
-
AbstractTypeScriptClientCodegen.java
|
2029
|
-
AkkaScalaClientCodegen.java
|
2030
|
-
AndroidClientCodegen.java
|
2031
|
-
AspNet5ServerCodegen.java
|
2032
|
-
AspNetCoreServerCodegen.java
|
2033
|
-
AsyncScalaClientCodegen.java
|
2034
|
-
BashClientCodegen.java
|
2035
|
-
CSharpClientCodegen.java
|
2036
|
-
ClojureClientCodegen.java
|
2037
|
-
CsharpDotNet2ClientCodegen.java
|
2038
|
-
DartClientCodegen.java
|
2039
|
-
FlashClientCodegen.java
|
2040
|
-
FlaskConnexionCodegen.java
|
2041
|
-
GoClientCodegen.java
|
2042
|
-
HaskellServantCodegen.java
|
2043
|
-
JMeterCodegen.java
|
2044
|
-
JavaCXFServerCodegen.java
|
2045
|
-
JavaClientCodegen.java
|
2046
|
-
JavaInflectorServerCodegen.java
|
2047
|
-
JavaJerseyServerCodegen.java
|
2048
|
-
JavaResteasyServerCodegen.java
|
2049
|
-
JavascriptClientCodegen.java
|
2050
|
-
NodeJSServerCodegen.java
|
2051
|
-
NancyFXServerCodegen
|
2052
|
-
ObjcClientCodegen.java
|
2053
|
-
PerlClientCodegen.java
|
2054
|
-
PhpClientCodegen.java
|
2055
|
-
PythonClientCodegen.java
|
2056
|
-
Qt5CPPGenerator.java
|
2057
|
-
RubyClientCodegen.java
|
2058
|
-
ScalaClientCodegen.java
|
2059
|
-
ScalatraServerCodegen.java
|
2060
|
-
SilexServerCodegen.java
|
2061
|
-
SinatraServerCodegen.java
|
2062
|
-
SlimFrameworkServerCodegen.java
|
2063
|
-
SpringMVCServerCodegen.java
|
2064
|
-
StaticDocCodegen.java
|
2065
|
-
StaticHtmlGenerator.java
|
2066
|
-
SwaggerGenerator.java
|
2067
|
-
SwaggerYamlGenerator.java
|
2068
|
-
SwiftCodegen.java
|
2069
|
-
TizenClientCodegen.java
|
2070
|
-
TypeScriptAngularClientCodegen.java
|
2071
|
-
TypeScriptNodeClientCodegen.java
|
2072
|
-
</code></pre>
|
2073
|
-
|
2074
|
-
<p>Each of these files creates reasonable defaults so you can get running quickly. But if you want to configure package names, prefixes, model folders, etc. you can use a json config file to pass the values.</p>
|
2075
|
-
|
2076
|
-
<pre><code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
|
2077
|
-
-i http://petstore.swagger.io/v2/swagger.json \
|
2078
|
-
-l java \
|
2079
|
-
-o samples/client/petstore/java \
|
2080
|
-
-c path/to/config.json
|
2081
|
-
</code></pre>
|
2082
|
-
|
2083
|
-
<p>and <code>config.json</code> contains the following as an example:</p>
|
2084
|
-
|
2085
|
-
<pre><code>{
|
2086
|
-
"apiPackage" : "petstore"
|
2087
|
-
}
|
2088
|
-
</code></pre>
|
2089
|
-
|
2090
|
-
<p>Supported config options can be different per language. Running <code>config-help -l {lang}</code> will show available options.<br>
|
2091
|
-
<strong>These options are applied via configuration file (e.g. config.json) or by passing them with `-D{optionName}={optionValue}</strong>. (If <code>-D{optionName}</code> does not work, please open a <a href="https://github.com/swagger-api/swagger-codegen/issues/new">ticket</a> and we'll look into it)</p>
|
2092
|
-
|
2093
|
-
<pre><code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java
|
2094
|
-
</code></pre>
|
2095
|
-
|
2096
|
-
<p>Output</p>
|
2097
|
-
|
2098
|
-
<pre><code>CONFIG OPTIONS
|
2099
|
-
modelPackage
|
2100
|
-
package for generated models
|
2101
|
-
|
2102
|
-
apiPackage
|
2103
|
-
package for generated api classes
|
2104
|
-
|
2105
|
-
sortParamsByRequiredFlag
|
2106
|
-
Sort method arguments to place required parameters before optional parameters. Default: true
|
2107
|
-
|
2108
|
-
invokerPackage
|
2109
|
-
root package for generated code
|
2110
|
-
|
2111
|
-
groupId
|
2112
|
-
groupId in generated pom.xml
|
2113
|
-
|
2114
|
-
artifactId
|
2115
|
-
artifactId in generated pom.xml
|
2116
|
-
|
2117
|
-
artifactVersion
|
2118
|
-
artifact version in generated pom.xml
|
2119
|
-
|
2120
|
-
sourceFolder
|
2121
|
-
source folder for generated code
|
2122
|
-
|
2123
|
-
localVariablePrefix
|
2124
|
-
prefix for generated code members and local variables
|
2125
|
-
|
2126
|
-
serializableModel
|
2127
|
-
boolean - toggle "implements Serializable" for generated models
|
2128
|
-
|
2129
|
-
library
|
2130
|
-
library template (sub-template) to use:
|
2131
|
-
jersey1 - HTTP client: Jersey client 1.18. JSON processing: Jackson 2.4.2
|
2132
|
-
jersey2 - HTTP client: Jersey client 2.6
|
2133
|
-
feign - HTTP client: Netflix Feign 8.1.1. JSON processing: Jackson 2.6.3
|
2134
|
-
okhttp-gson (default) - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1
|
2135
|
-
retrofit - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1 (Retrofit 1.9.0)
|
2136
|
-
retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2)
|
2137
|
-
</code></pre>
|
2138
|
-
|
2139
|
-
<p>Your config file for Java can look like</p>
|
2140
|
-
|
2141
|
-
<div class="highlight highlight-source-json"><pre>{
|
2142
|
-
<span class="pl-s"><span class="pl-pds">"</span>groupId<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>com.my.company<span class="pl-pds">"</span></span>,
|
2143
|
-
<span class="pl-s"><span class="pl-pds">"</span>artifactId<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>MyClient<span class="pl-pds">"</span></span>,
|
2144
|
-
<span class="pl-s"><span class="pl-pds">"</span>artifactVersion<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>1.2.0<span class="pl-pds">"</span></span>,
|
2145
|
-
<span class="pl-s"><span class="pl-pds">"</span>library<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>feign<span class="pl-pds">"</span></span>
|
2146
|
-
}</pre></div>
|
2147
|
-
|
2148
|
-
<p>For all the unspecified options default values will be used.</p>
|
2149
|
-
|
2150
|
-
<p>Another way to override default options is to extend the config class for the specific language.
|
2151
|
-
To change, for example, the prefix for the Objective-C generated files, simply subclass the ObjcClientCodegen.java:</p>
|
2152
|
-
|
2153
|
-
<div class="highlight highlight-source-java"><pre><span class="pl-k">package</span> <span class="pl-smi">com.mycompany.swagger.codegen</span>;
|
2154
|
-
|
2155
|
-
<span class="pl-k">import</span> <span class="pl-smi">io.swagger.codegen.languages.*</span>;
|
2156
|
-
|
2157
|
-
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-en">MyObjcCodegen</span> <span class="pl-k">extends</span> <span class="pl-e">ObjcClientCodegen</span> {
|
2158
|
-
<span class="pl-k">static</span> {
|
2159
|
-
<span class="pl-c1">PREFIX</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span>HELO<span class="pl-pds">"</span></span>;
|
2160
|
-
}
|
2161
|
-
}</pre></div>
|
2162
|
-
|
2163
|
-
<p>and specify the <code>classname</code> when running the generator:</p>
|
2164
|
-
|
2165
|
-
<pre><code>-l com.mycompany.swagger.codegen.MyObjcCodegen
|
2166
|
-
</code></pre>
|
2167
|
-
|
2168
|
-
<p>Your subclass will now be loaded and overrides the <code>PREFIX</code> value in the superclass.</p>
|
2169
|
-
|
2170
|
-
<h3><a id="user-content-bringing-your-own-models" class="anchor" href="#bringing-your-own-models" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Bringing your own models</h3>
|
2171
|
-
|
2172
|
-
<p>Sometimes you don't want a model generated. In this case, you can simply specify an import mapping to tell
|
2173
|
-
the codegen what <em>not</em> to create. When doing this, every location that references a specific model will
|
2174
|
-
refer back to your classes. Note, this may not apply to all languages...</p>
|
2175
|
-
|
2176
|
-
<p>To specify an import mapping, use the <code>--import-mappings</code> argument and specify the model-to-import logic as such:</p>
|
2177
|
-
|
2178
|
-
<pre><code>--import-mappings Pet=my.models.MyPet
|
2179
|
-
</code></pre>
|
2180
|
-
|
2181
|
-
<p>Or for multiple mappings:</p>
|
2182
|
-
|
2183
|
-
<pre><code>Pet=my.models.MyPet,Order=my.models.MyOrder
|
2184
|
-
</code></pre>
|
2185
|
-
|
2186
|
-
<h3><a id="user-content-validating-your-openapi-spec" class="anchor" href="#validating-your-openapi-spec" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Validating your OpenAPI Spec</h3>
|
2187
|
-
|
2188
|
-
<p>You have options. The easiest is to use our <a href="https://github.com/swagger-api/validator-badge">online validator</a> which not only will let you validate your spec, but with the debug flag, you can see what's wrong with your spec. For example:</p>
|
2189
|
-
|
2190
|
-
<p><a href="http://online.swagger.io/validator/debug?url=http://petstore.swagger.io/v2/swagger.json">http://online.swagger.io/validator/debug?url=http://petstore.swagger.io/v2/swagger.json</a></p>
|
2191
|
-
|
2192
|
-
<h3><a id="user-content-generating-dynamic-html-api-documentation" class="anchor" href="#generating-dynamic-html-api-documentation" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Generating dynamic html api documentation</h3>
|
2193
|
-
|
2194
|
-
<p>To do so, just use the <code>-l dynamic-html</code> flag when reading a spec file. This creates HTML documentation that is available as a single-page application with AJAX. To view the documentation:</p>
|
2195
|
-
|
2196
|
-
<pre><code>cd samples/dynamic-html/
|
2197
|
-
npm install
|
2198
|
-
node .
|
2199
|
-
</code></pre>
|
2200
|
-
|
2201
|
-
<p>Which launches a node.js server so the AJAX calls have a place to go.</p>
|
2202
|
-
|
2203
|
-
<h3><a id="user-content-generating-static-html-api-documentation" class="anchor" href="#generating-static-html-api-documentation" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Generating static html api documentation</h3>
|
2204
|
-
|
2205
|
-
<p>To do so, just use the <code>-l html</code> flag when reading a spec file. This creates a single, simple HTML file with embedded css so you can ship it as an email attachment, or load it from your filesystem:</p>
|
2206
|
-
|
2207
|
-
<pre><code>cd samples/html/
|
2208
|
-
open index.html
|
2209
|
-
</code></pre>
|
2210
|
-
|
2211
|
-
<h3><a id="user-content-to-build-a-server-stub" class="anchor" href="#to-build-a-server-stub" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>To build a server stub</h3>
|
2212
|
-
|
2213
|
-
<p>Please refer to <a href="https://github.com/swagger-api/swagger-codegen/wiki/Server-stub-generator-HOWTO">https://github.com/swagger-api/swagger-codegen/wiki/Server-stub-generator-HOWTO</a> for more information.</p>
|
2214
|
-
|
2215
|
-
<h3><a id="user-content-to-build-the-codegen-library" class="anchor" href="#to-build-the-codegen-library" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>To build the codegen library</h3>
|
2216
|
-
|
2217
|
-
<p>This will create the swagger-codegen library from source.</p>
|
2218
|
-
|
2219
|
-
<pre><code>mvn package
|
2220
|
-
</code></pre>
|
2221
|
-
|
2222
|
-
<p>Note! The templates are included in the library generated. If you want to modify the templates, you'll need to either repackage the library OR specify a path to your scripts</p>
|
2223
|
-
|
2224
|
-
<h2><a id="user-content-workflow-integration" class="anchor" href="#workflow-integration" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Workflow integration</h2>
|
2225
|
-
|
2226
|
-
<p>You can use the <a href="/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen-maven-plugin/README.md">swagger-codegen-maven-plugin</a> for integrating with your workflow, and generating any codegen target.</p>
|
2227
|
-
|
2228
|
-
<h2><a id="user-content-github-integration" class="anchor" href="#github-integration" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>GitHub Integration</h2>
|
2229
|
-
|
2230
|
-
<p>To push the auto-generated SDK to GitHub, we provide <code>git_push.sh</code> to streamline the process. For example:</p>
|
2231
|
-
|
2232
|
-
<p>1) Create a new repository in GitHub (Ref: <a href="https://help.github.com/articles/creating-a-new-repository/">https://help.github.com/articles/creating-a-new-repository/</a>)</p>
|
2233
|
-
|
2234
|
-
<p>2) Generate the SDK</p>
|
2235
|
-
|
2236
|
-
<pre><code> java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
|
2237
|
-
-i modules/swagger-codegen/src/test/resources/2_0/petstore.json -l perl \
|
2238
|
-
--git-user-id "wing328" \
|
2239
|
-
--git-repo-id "petstore-perl" \
|
2240
|
-
--release-note "Github integration demo" \
|
2241
|
-
-o /var/tmp/perl/petstore
|
2242
|
-
</code></pre>
|
2243
|
-
|
2244
|
-
<p>3) Push the SDK to GitHub</p>
|
2245
|
-
|
2246
|
-
<pre><code>cd /var/tmp/perl/petstore
|
2247
|
-
/bin/sh ./git_push.sh
|
2248
|
-
</code></pre>
|
2249
|
-
|
2250
|
-
<h2><a id="user-content-online-generators" class="anchor" href="#online-generators" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Online generators</h2>
|
2251
|
-
|
2252
|
-
<p>One can also generate API client or server using the online generators (<a href="https://generator.swagger.io">https://generator.swagger.io</a>)</p>
|
2253
|
-
|
2254
|
-
<p>For example, to generate Ruby API client, simply send the following HTTP request using curl:</p>
|
2255
|
-
|
2256
|
-
<pre><code>curl -X POST -H "content-type:application/json" -d '{"swaggerUrl":"http://petstore.swagger.io/v2/swagger.json"}' https://generator.swagger.io/api/gen/clients/ruby
|
2257
|
-
</code></pre>
|
2258
|
-
|
2259
|
-
<p>Then you will receieve a JSON response with the URL to download the zipped code.</p>
|
2260
|
-
|
2261
|
-
<p>To customize the SDK, you can <code>POST</code> to <code>https://generator.swagger.io/gen/clients/{language}</code> with the following HTTP body:</p>
|
2262
|
-
|
2263
|
-
<pre><code>{
|
2264
|
-
"options": {},
|
2265
|
-
"swaggerUrl": "http://petstore.swagger.io/v2/swagger.json"
|
2266
|
-
}
|
2267
|
-
</code></pre>
|
2268
|
-
|
2269
|
-
<p>in which the <code>options</code> for a language can be obtained by submitting a <code>GET</code> request to <code>https://generator.swagger.io/api/gen/clients/{language}</code>:</p>
|
2270
|
-
|
2271
|
-
<p>For example, <code>curl https://generator.swagger.io/api/gen/clients/python</code> returns</p>
|
2272
|
-
|
2273
|
-
<pre><code>{
|
2274
|
-
"packageName":{
|
2275
|
-
"opt":"packageName",
|
2276
|
-
"description":"python package name (convention: snake_case).",
|
2277
|
-
"type":"string",
|
2278
|
-
"default":"swagger_client"
|
2279
|
-
},
|
2280
|
-
"packageVersion":{
|
2281
|
-
"opt":"packageVersion",
|
2282
|
-
"description":"python package version.",
|
2283
|
-
"type":"string",
|
2284
|
-
"default":"1.0.0"
|
2285
|
-
},
|
2286
|
-
"sortParamsByRequiredFlag":{
|
2287
|
-
"opt":"sortParamsByRequiredFlag",
|
2288
|
-
"description":"Sort method arguments to place required parameters before optional parameters.",
|
2289
|
-
"type":"boolean",
|
2290
|
-
"default":"true"
|
2291
|
-
}
|
2292
|
-
}
|
2293
|
-
</code></pre>
|
2294
|
-
|
2295
|
-
<p>To set package name to <code>pet_store</code>, the HTTP body of the request is as follows:</p>
|
2296
|
-
|
2297
|
-
<pre><code>{
|
2298
|
-
"options": {
|
2299
|
-
"packageName": "pet_store"
|
2300
|
-
},
|
2301
|
-
"swaggerUrl": "http://petstore.swagger.io/v2/swagger.json"
|
2302
|
-
}
|
2303
|
-
</code></pre>
|
2304
|
-
|
2305
|
-
<p>and here is the curl command:</p>
|
2306
|
-
|
2307
|
-
<pre><code>curl -H "Content-type: application/json" -X POST -d '{"options": {"packageName": "pet_store"},"swaggerUrl": "http://petstore.swagger.io/v2/swagger.json"}' https://generator.swagger.io/api/gen/clients/python
|
2308
|
-
</code></pre>
|
2309
|
-
|
2310
|
-
<h2><a id="user-content-guidelines-for-contribution" class="anchor" href="#guidelines-for-contribution" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Guidelines for Contribution</h2>
|
2311
|
-
|
2312
|
-
<p>Please refer to this <a href="https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md">page</a></p>
|
2313
|
-
|
2314
|
-
<h2><a id="user-content-companiesprojects-using-swagger-codegen" class="anchor" href="#companiesprojects-using-swagger-codegen" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Companies/Projects using Swagger Codegen</h2>
|
2315
|
-
|
2316
|
-
<p>Here are some companies/projects using Swagger Codegen in production. To add your company/project to the list, please visit <a href="https://github.com/swagger-api/swagger-codegen/blob/master/README.md">README.md</a> and click on the icon to edit the page.</p>
|
2317
|
-
|
2318
|
-
<ul>
|
2319
|
-
<li><a href="https://www.activehours.com/">Activehours</a></li>
|
2320
|
-
<li><a href="https://www.acunetix.com/">Acunetix</a></li>
|
2321
|
-
<li><a href="https://www.atlassian.com/">Atlassian</a></li>
|
2322
|
-
<li><a href="http://www.autodesk.com/">Autodesk</a></li>
|
2323
|
-
<li><a href="https://www.avenida.com.ar">Avenida Compras S.A.</a></li>
|
2324
|
-
<li><a href="http://aylien.com/">AYLIEN</a></li>
|
2325
|
-
<li><a href="https://www.balanceinternet.com.au/">Balance Internet</a></li>
|
2326
|
-
<li><a href="http://www.beemo.eu">beemo</a></li>
|
2327
|
-
<li><a href="https://bitly.com">bitly</a></li>
|
2328
|
-
<li><a href="https://www.butterflynetinc.com/">Bufferfly Network</a></li>
|
2329
|
-
<li><a href="http://www.cachetfinancial.com/">Cachet Financial</a></li>
|
2330
|
-
<li><a href="http://www.carpolo.co/">carpolo</a></li>
|
2331
|
-
<li><a href="https://www.CloudBoost.io/">CloudBoost</a></li>
|
2332
|
-
<li><a href="http://www.conplement.de/">Conplement</a></li>
|
2333
|
-
<li><a href="http://www.cummins.com/">Cummins</a></li>
|
2334
|
-
<li><a href="http://www.cupix.com">Cupix</a></li>
|
2335
|
-
<li><a href="https://www.dbbest.com">DBBest Technologies</a></li>
|
2336
|
-
<li><a href="http://decentfox.com/">DecentFoX</a></li>
|
2337
|
-
<li><a href="https://www.docusign.com">DocuSign</a></li>
|
2338
|
-
<li><a href="http://www.ergon.ch/">Ergon</a></li>
|
2339
|
-
<li><a href="https://www.emc.com/">EMC</a></li>
|
2340
|
-
<li><a href="http://eure.jp/">eureka</a></li>
|
2341
|
-
<li><a href="http://everystory.us">everystory.us</a></li>
|
2342
|
-
<li><a href="http://www.expectedbehavior.com/">Expected Behavior</a></li>
|
2343
|
-
<li><a href="https://www.fastly.com/">Fastly</a></li>
|
2344
|
-
<li><a href="https://flat.io">Flat</a></li>
|
2345
|
-
<li><a href="http://en.finder.pl/">Finder</a></li>
|
2346
|
-
<li><a href="http://www.fh-muenster.de">FH Münster - University of Applied Sciences</a></li>
|
2347
|
-
<li><a href="https://www.gearzero.ca">Gear Zero Network</a></li>
|
2348
|
-
<li><a href="http://www.germin8.com">Germin8</a></li>
|
2349
|
-
<li><a href="http://www.gotransverse.com/api">goTransverse</a></li>
|
2350
|
-
<li><a href="https://graphhopper.com/">GraphHopper</a></li>
|
2351
|
-
<li><a href="http://gravitatesolutions.com/">Gravitate Solutions</a></li>
|
2352
|
-
<li><a href="https://hpe.com">Hewlett Packard Enterprise</a></li>
|
2353
|
-
<li><a href="http://htc-cs.com">High Technologies Center</a></li>
|
2354
|
-
<li><a href="http://www.imshealth.com/en/solution-areas/technology-and-applications">IMS Health</a></li>
|
2355
|
-
<li><a href="http://www.intenthq.com">Intent HQ</a></li>
|
2356
|
-
<li><a href="http://developer.mypurecloud.com/">Interactive Intelligence</a></li>
|
2357
|
-
<li><a href="http://www.kabuku.co.jp/en">Kabuku</a></li>
|
2358
|
-
<li><a href="https://kurio.co.id">Kurio</a></li>
|
2359
|
-
<li><a href="http://kuroiwebdesign.com/">Kuroi</a></li>
|
2360
|
-
<li><a href="https://kuary.com/">Kuary</a></li>
|
2361
|
-
<li><a href="https://kubernetes.io/">Kubernetes</a></li>
|
2362
|
-
<li><a href="https://www.landr.com/">LANDR Audio</a></li>
|
2363
|
-
<li><a href="http://www.lascaux.it/">Lascaux</a></li>
|
2364
|
-
<li><a href="http://leica-geosystems.com">Leica Geosystems AG</a></li>
|
2365
|
-
<li><a href="https://www.ladesk.com/">LiveAgent</a></li>
|
2366
|
-
<li><a href="http://lxltech.com">LXL Tech</a></li>
|
2367
|
-
<li><a href="https://mailmojo.no/">MailMojo</a></li>
|
2368
|
-
<li><a href="http://mindera.com/">Mindera</a></li>
|
2369
|
-
<li><a href="http://mporium.com/">Mporium</a></li>
|
2370
|
-
<li><a href="https://neverfail.com/">Neverfail</a></li>
|
2371
|
-
<li><a href="http://www.nviso.ch/">nViso</a></li>
|
2372
|
-
<li><a href="https://www.okiok.com">Okiok</a></li>
|
2373
|
-
<li><a href="http://onedata.org">Onedata</a></li>
|
2374
|
-
<li><a href="http://ordercloud.io">OrderCloud.io</a></li>
|
2375
|
-
<li><a href="https://osdn.jp">OSDN</a></li>
|
2376
|
-
<li><a href="https://www.pagerduty.com">PagerDuty</a></li>
|
2377
|
-
<li><a href="https://pagertree.com">PagerTree</a></li>
|
2378
|
-
<li><a href="https://www.pepipost.com">Pepipost</a></li>
|
2379
|
-
<li><a href="http://www.plexxi.com">Plexxi</a></li>
|
2380
|
-
<li><a href="http://www.pixoneye.com/">Pixoneye</a></li>
|
2381
|
-
<li><a href="https://www.postaffiliatepro.com/">PostAffiliatePro</a></li>
|
2382
|
-
<li><a href="http://www.prill.com.br">Prill Tecnologia</a></li>
|
2383
|
-
<li><a href="http://qadept.com/">QAdept</a></li>
|
2384
|
-
<li><a href="https://quantimo.do/">QuantiModo</a></li>
|
2385
|
-
<li><a href="https://rapid7.com/">Rapid7</a></li>
|
2386
|
-
<li><a href="https://reload.dk/">Reload! A/S</a></li>
|
2387
|
-
<li><a href="https://www.restore.eu">REstore</a></li>
|
2388
|
-
<li><a href="http://revault.ch">Revault Sàrl</a></li>
|
2389
|
-
<li><a href="https://riffyn.com">Riffyn</a></li>
|
2390
|
-
<li><a href="http://www.rbc.com/canada.html">Royal Bank of Canada (RBC)</a></li>
|
2391
|
-
<li><a href="https://www.saritasa.com/">Saritasa</a></li>
|
2392
|
-
<li><a href="http://www.scoop-software.de">SCOOP Software GmbH</a></li>
|
2393
|
-
<li><a href="https://shinesolutions.com/">Shine Solutions</a></li>
|
2394
|
-
<li><a href="https://www.simpfony.com/">Simpfony</a></li>
|
2395
|
-
<li><a href="http://www.skurt.com">Skurt</a></li>
|
2396
|
-
<li><a href="https://www.slamby.com/">Slamby</a></li>
|
2397
|
-
<li><a href="https://www.smartrecruiters.com/">SmartRecruiters</a></li>
|
2398
|
-
<li><a href="https://snapcx.io">snapCX</a></li>
|
2399
|
-
<li><a href="http://www.spinen.com">SPINEN</a></li>
|
2400
|
-
<li><a href="https://www.src.si/">SRC</a></li>
|
2401
|
-
<li><a href="http://stylerecipe.co.jp">StyleRecipe</a></li>
|
2402
|
-
<li><a href="https://www.svenskaspel.se/">Svenska Spel AB</a></li>
|
2403
|
-
<li><a href="http://www.taskdata.com/">TaskData</a></li>
|
2404
|
-
<li><a href="https://www.thoughtworks.com">ThoughtWorks</a></li>
|
2405
|
-
<li><a href="http://upwork.com/">Upwork</a></li>
|
2406
|
-
<li><a href="https://www.uship.com/">uShip</a></li>
|
2407
|
-
<li><a href="https://vmware.com/">VMware</a></li>
|
2408
|
-
<li><a href="http://wup.hu/?siteLang=en">W.UP</a></li>
|
2409
|
-
<li><a href="https://www.wealthfront.com/">Wealthfront</a></li>
|
2410
|
-
<li><a href="https://www.webever.de/">Webever GmbH</a></li>
|
2411
|
-
<li><a href="https://www.wexo.dk/">WEXO A/S</a></li>
|
2412
|
-
<li><a href="https://tech.zalando.com">Zalando</a></li>
|
2413
|
-
<li><a href="https://zeef.com/">ZEEF.com</a></li>
|
2414
|
-
</ul>
|
2415
|
-
|
2416
|
-
<h1><a id="user-content-swagger-codegen-core-team" class="anchor" href="#swagger-codegen-core-team" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Swagger Codegen Core Team</h1>
|
2417
|
-
|
2418
|
-
<p>Swagger Codegen core team members are contributors who have been making significant contributions (review issues, fix bugs, make enhancements, etc) to the project on a regular basis.</p>
|
2419
|
-
|
2420
|
-
<h2><a id="user-content-api-clients" class="anchor" href="#api-clients" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>API Clients</h2>
|
2421
|
-
|
2422
|
-
<table><thead>
|
2423
|
-
<tr>
|
2424
|
-
<th align="left">Languages</th>
|
2425
|
-
<th align="left">Core Team (join date)</th>
|
2426
|
-
</tr>
|
2427
|
-
</thead><tbody>
|
2428
|
-
<tr>
|
2429
|
-
<td align="left">ActionScript</td>
|
2430
|
-
<td align="left"></td>
|
2431
|
-
</tr>
|
2432
|
-
<tr>
|
2433
|
-
<td align="left">C++</td>
|
2434
|
-
<td align="left"></td>
|
2435
|
-
</tr>
|
2436
|
-
<tr>
|
2437
|
-
<td align="left">C#</td>
|
2438
|
-
<td align="left">@jimschubert (2016/05/01)</td>
|
2439
|
-
</tr>
|
2440
|
-
<tr>
|
2441
|
-
<td align="left">Clojure</td>
|
2442
|
-
<td align="left">@xhh (2016/05/01)</td>
|
2443
|
-
</tr>
|
2444
|
-
<tr>
|
2445
|
-
<td align="left">Dart</td>
|
2446
|
-
<td align="left"></td>
|
2447
|
-
</tr>
|
2448
|
-
<tr>
|
2449
|
-
<td align="left">Groovy</td>
|
2450
|
-
<td align="left"></td>
|
2451
|
-
</tr>
|
2452
|
-
<tr>
|
2453
|
-
<td align="left">Go</td>
|
2454
|
-
<td align="left">@guohuang (2016/05/01) @neilotoole (2016/05/01)</td>
|
2455
|
-
</tr>
|
2456
|
-
<tr>
|
2457
|
-
<td align="left">Java</td>
|
2458
|
-
<td align="left">@cbornet (2016/05/01) @xhh (2016/05/01) @epaul (2016/06/04)</td>
|
2459
|
-
</tr>
|
2460
|
-
<tr>
|
2461
|
-
<td align="left">Java (Spring Cloud)</td>
|
2462
|
-
<td align="left">@cbornet (2016/07/19)</td>
|
2463
|
-
</tr>
|
2464
|
-
<tr>
|
2465
|
-
<td align="left">NodeJS/Javascript</td>
|
2466
|
-
<td align="left">@xhh (2016/05/01)</td>
|
2467
|
-
</tr>
|
2468
|
-
<tr>
|
2469
|
-
<td align="left">ObjC</td>
|
2470
|
-
<td align="left">@mateuszmackowiak (2016/05/09)</td>
|
2471
|
-
</tr>
|
2472
|
-
<tr>
|
2473
|
-
<td align="left">Perl</td>
|
2474
|
-
<td align="left">@wing328 (2016/05/01)</td>
|
2475
|
-
</tr>
|
2476
|
-
<tr>
|
2477
|
-
<td align="left">PHP</td>
|
2478
|
-
<td align="left">@arnested (2016/05/01)</td>
|
2479
|
-
</tr>
|
2480
|
-
<tr>
|
2481
|
-
<td align="left">Python</td>
|
2482
|
-
<td align="left">@scottrw93 (2016/05/01)</td>
|
2483
|
-
</tr>
|
2484
|
-
<tr>
|
2485
|
-
<td align="left">Ruby</td>
|
2486
|
-
<td align="left">@wing328 (2016/05/01) @zlx (2016/05/22)</td>
|
2487
|
-
</tr>
|
2488
|
-
<tr>
|
2489
|
-
<td align="left">Scala</td>
|
2490
|
-
<td align="left"></td>
|
2491
|
-
</tr>
|
2492
|
-
<tr>
|
2493
|
-
<td align="left">Swift</td>
|
2494
|
-
<td align="left">@jaz-ah (2016/05/01) @Edubits (2016/05/01)</td>
|
2495
|
-
</tr>
|
2496
|
-
<tr>
|
2497
|
-
<td align="left">TypeScript (Node)</td>
|
2498
|
-
<td align="left">@Vrolijkx (2016/05/01)</td>
|
2499
|
-
</tr>
|
2500
|
-
<tr>
|
2501
|
-
<td align="left">TypeScript (Angular1)</td>
|
2502
|
-
<td align="left">@Vrolijkx (2016/05/01)</td>
|
2503
|
-
</tr>
|
2504
|
-
<tr>
|
2505
|
-
<td align="left">TypeScript (Angular2)</td>
|
2506
|
-
<td align="left">@Vrolijkx (2016/05/01)</td>
|
2507
|
-
</tr>
|
2508
|
-
<tr>
|
2509
|
-
<td align="left">TypeScript (Fetch)</td>
|
2510
|
-
<td align="left"></td>
|
2511
|
-
</tr>
|
2512
|
-
</tbody></table>
|
2513
|
-
|
2514
|
-
<h2><a id="user-content-server-stubs" class="anchor" href="#server-stubs" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Server Stubs</h2>
|
2515
|
-
|
2516
|
-
<table><thead>
|
2517
|
-
<tr>
|
2518
|
-
<th align="left">Languages</th>
|
2519
|
-
<th align="left">Core Team (date joined)</th>
|
2520
|
-
</tr>
|
2521
|
-
</thead><tbody>
|
2522
|
-
<tr>
|
2523
|
-
<td align="left">C# ASP.NET5</td>
|
2524
|
-
<td align="left">@jimschubert (2016/05/01)</td>
|
2525
|
-
</tr>
|
2526
|
-
<tr>
|
2527
|
-
<td align="left">Go Server</td>
|
2528
|
-
<td align="left">@guohuang (2016/06/13)</td>
|
2529
|
-
</tr>
|
2530
|
-
<tr>
|
2531
|
-
<td align="left">Haskell Servant</td>
|
2532
|
-
<td align="left"></td>
|
2533
|
-
</tr>
|
2534
|
-
<tr>
|
2535
|
-
<td align="left">Java Spring Boot</td>
|
2536
|
-
<td align="left">@cbornet (2016/07/19)</td>
|
2537
|
-
</tr>
|
2538
|
-
<tr>
|
2539
|
-
<td align="left">Java Spring MVC</td>
|
2540
|
-
<td align="left">@kolyjjj (2016/05/01) @cbornet (2016/07/19)</td>
|
2541
|
-
</tr>
|
2542
|
-
<tr>
|
2543
|
-
<td align="left">Java JAX-RS</td>
|
2544
|
-
<td align="left"></td>
|
2545
|
-
</tr>
|
2546
|
-
<tr>
|
2547
|
-
<td align="left">NancyFX</td>
|
2548
|
-
<td align="left"></td>
|
2549
|
-
</tr>
|
2550
|
-
<tr>
|
2551
|
-
<td align="left">NodeJS</td>
|
2552
|
-
<td align="left">@kolyjjj (2016/05/01)</td>
|
2553
|
-
</tr>
|
2554
|
-
<tr>
|
2555
|
-
<td align="left">PHP Lumen</td>
|
2556
|
-
<td align="left">@abcsum (2016/05/01)</td>
|
2557
|
-
</tr>
|
2558
|
-
<tr>
|
2559
|
-
<td align="left">PHP Silex</td>
|
2560
|
-
<td align="left"></td>
|
2561
|
-
</tr>
|
2562
|
-
<tr>
|
2563
|
-
<td align="left">PHP Slim</td>
|
2564
|
-
<td align="left"></td>
|
2565
|
-
</tr>
|
2566
|
-
<tr>
|
2567
|
-
<td align="left">Python Flask</td>
|
2568
|
-
<td align="left"></td>
|
2569
|
-
</tr>
|
2570
|
-
<tr>
|
2571
|
-
<td align="left">Ruby Sinatra</td>
|
2572
|
-
<td align="left">@wing328 (2016/05/01)</td>
|
2573
|
-
</tr>
|
2574
|
-
<tr>
|
2575
|
-
<td align="left">Scala Scalatra</td>
|
2576
|
-
<td align="left"></td>
|
2577
|
-
</tr>
|
2578
|
-
<tr>
|
2579
|
-
<td align="left">Scala Finch</td>
|
2580
|
-
<td align="left">@jimschubert (2017/01/28)</td>
|
2581
|
-
</tr>
|
2582
|
-
</tbody></table>
|
2583
|
-
|
2584
|
-
<h2><a id="user-content-template-creator" class="anchor" href="#template-creator" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Template Creator</h2>
|
2585
|
-
|
2586
|
-
<p>Here is a list of template creators:</p>
|
2587
|
-
|
2588
|
-
<ul>
|
2589
|
-
<li>API Clients:
|
2590
|
-
|
2591
|
-
<ul>
|
2592
|
-
<li>Akka-Scala: @cchafer</li>
|
2593
|
-
<li>Bash: @bkryza</li>
|
2594
|
-
<li>C++ REST: @Danielku15</li>
|
2595
|
-
<li>C# (.NET 2.0): @who</li>
|
2596
|
-
<li>Clojure: @xhh</li>
|
2597
|
-
<li>Dart: @yissachar</li>
|
2598
|
-
<li>Elixir: @niku</li>
|
2599
|
-
<li>Groovy: @victorgit</li>
|
2600
|
-
<li>Go: @wing328</li>
|
2601
|
-
<li>Java (Feign): @davidkiss</li>
|
2602
|
-
<li>Java (Retrofit): @0legg</li>
|
2603
|
-
<li>Java (Retrofi2): @emilianobonassi</li>
|
2604
|
-
<li>Java (Jersey2): @xhh</li>
|
2605
|
-
<li>Java (okhttp-gson): @xhh</li>
|
2606
|
-
<li>Javascript/NodeJS: @jfiala</li>
|
2607
|
-
<li>Javascript (Closure-annotated Angular) @achew22</li>
|
2608
|
-
<li>JMeter @davidkiss</li>
|
2609
|
-
<li>Perl: @wing328</li>
|
2610
|
-
<li>Swift: @tkqubo</li>
|
2611
|
-
<li>Swift 3: @hexelon</li>
|
2612
|
-
<li>TypeScript (Node): @mhardorf</li>
|
2613
|
-
<li>TypeScript (Angular1): @mhardorf</li>
|
2614
|
-
<li>TypeScript (Fetch): @leonyu</li>
|
2615
|
-
<li>TypeScript (Angular2): @roni-frantchi</li>
|
2616
|
-
</ul></li>
|
2617
|
-
<li>Server Stubs
|
2618
|
-
|
2619
|
-
<ul>
|
2620
|
-
<li>C# ASP.NET5: @jimschubert</li>
|
2621
|
-
<li>C# NancyFX: @mstefaniuk</li>
|
2622
|
-
<li>Erlang Server: @galaxie</li>
|
2623
|
-
<li>Go Server: @guohuang</li>
|
2624
|
-
<li>Haskell Servant: @algas</li>
|
2625
|
-
<li>Java MSF4J: @sanjeewa-malalgoda</li>
|
2626
|
-
<li>Java Spring Boot: @diyfr</li>
|
2627
|
-
<li>Java Undertow: @stevehu</li>
|
2628
|
-
<li>JAX-RS RestEasy: @chameleon82</li>
|
2629
|
-
<li>JAX-RS CXF: @hiveship</li>
|
2630
|
-
<li>JAX-RS CXF (CDI): @nickcmaynard</li>
|
2631
|
-
<li>PHP Lumen: @abcsum</li>
|
2632
|
-
<li>PHP Slim: @jfastnacht</li>
|
2633
|
-
<li>PHP Zend Expressive (with Path Handler): @Articus</li>
|
2634
|
-
<li>Ruby on Rails 5: @zlx</li>
|
2635
|
-
<li>Scala Finch: @jimschubert</li>
|
2636
|
-
</ul></li>
|
2637
|
-
<li>Documentation
|
2638
|
-
|
2639
|
-
<ul>
|
2640
|
-
<li>HTML Doc 2: @jhitchcock</li>
|
2641
|
-
<li>Confluence Wiki: @jhitchcock</li>
|
2642
|
-
</ul></li>
|
2643
|
-
</ul>
|
2644
|
-
|
2645
|
-
<h2><a id="user-content-how-to-join-the-core-team" class="anchor" href="#how-to-join-the-core-team" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>How to join the core team</h2>
|
2646
|
-
|
2647
|
-
<p>Here are the requirements to become a core team member:</p>
|
2648
|
-
|
2649
|
-
<ul>
|
2650
|
-
<li>rank within top 50 in <a href="https://github.com/swagger-api/swagger-codegen/graphs/contributors">https://github.com/swagger-api/swagger-codegen/graphs/contributors</a>
|
2651
|
-
|
2652
|
-
<ul>
|
2653
|
-
<li>to contribute, here are some good <a href="https://github.com/swagger-api/swagger-codegen/issues?q=is%3Aopen+is%3Aissue+label%3A%22Need+community+contribution%22">starting points</a></li>
|
2654
|
-
</ul></li>
|
2655
|
-
<li><p>regular contributions to the project</p>
|
2656
|
-
|
2657
|
-
<ul>
|
2658
|
-
<li>about 3 hours per week</li>
|
2659
|
-
<li>for contribution, it can be addressing issues, reviewing PRs submitted by others, submitting PR to fix bugs or make enhancements, etc</li>
|
2660
|
-
</ul>
|
2661
|
-
|
2662
|
-
<p>To join the core team, please reach out to <a href="mailto:wing328hk@gmail.com">wing328hk@gmail.com</a> (@wing328) for more information.</p>
|
2663
|
-
|
2664
|
-
<p>To become a Template Creator, simply submit a PR for new API client (e.g. Rust, Elixir) or server stub (e.g. Ruby Grape) generator.</p></li>
|
2665
|
-
</ul>
|
2666
|
-
|
2667
|
-
<h1><a id="user-content-swagger-codegen-evangelist" class="anchor" href="#swagger-codegen-evangelist" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>Swagger Codegen Evangelist</h1>
|
2668
|
-
|
2669
|
-
<p>Swagger Codegen Evangelist shoulders one or more of the following responsibilities:</p>
|
2670
|
-
|
2671
|
-
<ul>
|
2672
|
-
<li>publishes articles on the benefit of Swagger Codegen</li>
|
2673
|
-
<li>organizes local Meetups</li>
|
2674
|
-
<li>presents the benefits of Swagger Codegen in local Meetups or conferences</li>
|
2675
|
-
<li>actively answers questions from others in <a href="https://github.com/swagger-api/swagger-codegen/issues">Github</a>, <a href="/swagger-api/swagger-codegen/blob/master/stackoverflow.com/search?q=%5Bswagger%5D">StackOverflow</a></li>
|
2676
|
-
<li>submits PRs to improve Swagger Codegen</li>
|
2677
|
-
<li>reviews PRs submitted by the others</li>
|
2678
|
-
<li>ranks within top 100 in the <a href="https://github.com/swagger-api/swagger-codegen/graphs/contributors">contributor list</a></li>
|
2679
|
-
</ul>
|
2680
|
-
|
2681
|
-
<p>If you want to be a Swagger Codegen Evangelist, please kindly apply by sending an email to <a href="mailto:wing328hk@gmail.com">wing328hk@gmail.com</a> (@wing328)</p>
|
2682
|
-
|
2683
|
-
<h3><a id="user-content-list-of-swagger-codegen-evangelists" class="anchor" href="#list-of-swagger-codegen-evangelists" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>List of Swagger Codegen Evangelists</h3>
|
2684
|
-
|
2685
|
-
<ul>
|
2686
|
-
<li>Cliffano Subagio (@cliffano from Australia joined on Dec 9, 2016)
|
2687
|
-
|
2688
|
-
<ul>
|
2689
|
-
<li><a href="http://www.slideshare.net/cliffano/building-an-aem-api-clients-ecosystem">Building An AEM API Clients Ecosystem</a></li>
|
2690
|
-
<li><a href="http://blog.cliffano.com/2016/11/10/adobe-marketing-cloud-community-expo/">Adobe Marketing Cloud Community Expo</a></li>
|
2691
|
-
</ul></li>
|
2692
|
-
</ul>
|
2693
|
-
|
2694
|
-
<h1><a id="user-content-license-information-on-generated-code" class="anchor" href="#license-information-on-generated-code" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>License information on Generated Code</h1>
|
2695
|
-
|
2696
|
-
<p>The Swagger Codegen project is intended as a benefit for users of the Swagger / Open API Specification. The project itself has the <a href="#license">License</a> as specified. In addition, please understand the following points:</p>
|
2697
|
-
|
2698
|
-
<ul>
|
2699
|
-
<li>The templates included with this project are subject to the <a href="#license">License</a>.</li>
|
2700
|
-
<li>Generated code is intentionally <em>not</em> subject to the parent project license</li>
|
2701
|
-
</ul>
|
2702
|
-
|
2703
|
-
<p>When code is generated from this project, it shall be considered <strong>AS IS</strong> and owned by the user of the software. There are no warranties--expressed or implied--for generated code. You can do what you wish with it, and once generated, the code is your responsibility and subject to the licensing terms that you deem appropriate.</p>
|
2704
|
-
|
2705
|
-
<h2><a id="user-content-license" class="anchor" href="#license" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" 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>License</h2>
|
2706
|
-
|
2707
|
-
<p>Copyright 2017 SmartBear Software</p>
|
2708
|
-
|
2709
|
-
<p>Licensed under the Apache License, Version 2.0 (the "License");
|
2710
|
-
you may not use this file except in compliance with the License.
|
2711
|
-
You may obtain a copy of the License at <a href="http://www.apache.org/licenses/LICENSE-2.0">apache.org/licenses/LICENSE-2.0</a></p>
|
2712
|
-
|
2713
|
-
<p>Unless required by applicable law or agreed to in writing, software
|
2714
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
2715
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2716
|
-
See the License for the specific language governing permissions and
|
2717
|
-
limitations under the License.</p>
|
2718
|
-
|
2719
|
-
<hr>
|
2720
|
-
|
2721
|
-
<p><a href="https://camo.githubusercontent.com/05cf7bfc000e414bb798c2d35630a6a94bb5e7ac/687474703a2f2f737761676765722e696f2f77702d636f6e74656e742f75706c6f6164732f323031362f30322f6c6f676f2e6a7067" target="_blank"><img src="https://camo.githubusercontent.com/05cf7bfc000e414bb798c2d35630a6a94bb5e7ac/687474703a2f2f737761676765722e696f2f77702d636f6e74656e742f75706c6f6164732f323031362f30322f6c6f676f2e6a7067" data-canonical-src="http://swagger.io/wp-content/uploads/2016/02/logo.jpg" style="max-width:100%;"></a></p>
|
2722
|
-
</article>
|
2723
|
-
</div>
|
2724
|
-
|
2725
|
-
|
2726
|
-
</div>
|
2727
|
-
<div class="modal-backdrop js-touch-events"></div>
|
2728
|
-
</div>
|
2729
|
-
|
2730
|
-
|
2731
|
-
</div>
|
2732
|
-
</div>
|
2733
|
-
|
2734
|
-
</div>
|
2735
|
-
|
2736
|
-
<div class="container site-footer-container">
|
2737
|
-
<div class="site-footer" role="contentinfo">
|
2738
|
-
<ul class="site-footer-links float-right">
|
2739
|
-
<li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact GitHub</a></li>
|
2740
|
-
<li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
|
2741
|
-
<li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
|
2742
|
-
<li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
|
2743
|
-
<li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
|
2744
|
-
<li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
|
2745
|
-
|
2746
|
-
</ul>
|
2747
|
-
|
2748
|
-
<a href="https://github.com" aria-label="Homepage" class="site-footer-mark" title="GitHub">
|
2749
|
-
<svg aria-hidden="true" class="octicon octicon-mark-github" height="24" version="1.1" viewBox="0 0 16 16" width="24"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
|
2750
|
-
</a>
|
2751
|
-
<ul class="site-footer-links">
|
2752
|
-
<li>© 2017 <span title="0.10673s from github-fe152-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
|
2753
|
-
<li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
|
2754
|
-
<li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
|
2755
|
-
<li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
|
2756
|
-
<li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
|
2757
|
-
<li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li>
|
2758
|
-
</ul>
|
2759
|
-
</div>
|
2760
|
-
</div>
|
2761
|
-
|
2762
|
-
|
2763
|
-
|
2764
|
-
|
2765
|
-
|
2766
|
-
<div id="ajax-error-message" class="ajax-error-message flash flash-error">
|
2767
|
-
<svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"/></svg>
|
2768
|
-
<button type="button" class="flash-close js-flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
|
2769
|
-
<svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"/></svg>
|
2770
|
-
</button>
|
2771
|
-
You can't perform that action at this time.
|
2772
|
-
</div>
|
2773
|
-
|
2774
|
-
|
2775
|
-
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/compat-8e19569aacd39e737a14c8515582825f3c90d1794c0e5539f9b525b8eb8b5a8e.js"></script>
|
2776
|
-
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-44ae517d6facdc7480be70913e6d4abb86971b42006cf0f0dd6597b480cc272f.js"></script>
|
2777
|
-
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-fcf0dcdefd5725b9296833fb332eb3a6aed11d90a7b45a59cddccd0b7eca205d.js"></script>
|
2778
|
-
|
2779
|
-
|
2780
|
-
|
2781
|
-
|
2782
|
-
<div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner d-none">
|
2783
|
-
<svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"/></svg>
|
2784
|
-
<span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
2785
|
-
<span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
2786
|
-
</div>
|
2787
|
-
<div class="facebox" id="facebox" style="display:none;">
|
2788
|
-
<div class="facebox-popup">
|
2789
|
-
<div class="facebox-content" role="dialog" aria-labelledby="facebox-header" aria-describedby="facebox-description">
|
2790
|
-
</div>
|
2791
|
-
<button type="button" class="facebox-close js-facebox-close" aria-label="Close modal">
|
2792
|
-
<svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"/></svg>
|
2793
|
-
</button>
|
2794
|
-
</div>
|
2795
|
-
</div>
|
2796
|
-
|
2797
|
-
</body>
|
2798
|
-
</html>
|
2799
|
-
|