forked from sgoeschl/springboot-httpbin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi-generate.sh
executable file
·39 lines (38 loc) · 1.09 KB
/
openapi-generate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
docker run \
--rm \
--user 1000 \
-v $PWD:/local openapitools/openapi-generator-cli generate \
--input-spec /local/openapi_httpbin.yaml \
-g spring \
--group-id com.dyrnq.httpbin \
--artifact-id springboot-httpbin \
--artifact-version 0.0.1 \
--invoker-package com.dyrnq.httpbin \
--api-package com.dyrnq.httpbin.api \
--model-package com.dyrnq.httpbin.model \
--git-repo-id dyrnq \
--additional-properties \
generateBuilders=true,\
developerName=dyrnq,\
developerOrganization=https://github.com/dyrnq,\
developerOrganizationUrl=https://github.com/dyrnq,\
delegatePattern=false,\
title=springboot-httpbin,\
useTags=true,\
reactive=false,\
hideGenerationTimestamp=true,\
useSpringBoot3=true,\
artifactDescription=springboot-httpbin,\
artifactUrl=https://github.com/dyrnq/springboot-httpbin,\
configPackage=com.dyrnq.httpbin.configuration,\
parentArtifactId=springboot-httpbin-root,\
parentGroupId=com.dyrnq.httpbin,\
parentVersion=0.0.1,\
unhandledException=true,\
useOneOfInterfaces=true,\
bigDecimalAsString=true,\
useOptional=false \
\
-o /local/springboot-httpbin