-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathBUILD.bazel
More file actions
72 lines (62 loc) · 1.56 KB
/
BUILD.bazel
File metadata and controls
72 lines (62 loc) · 1.56 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright 2019 OpenAPI-Generator-Bazel Contributors
load("@openapi_tools_generator_bazel//:defs.bzl", "openapi_generator")
openapi_generator(
name = "petstore",
generator = "go",
specs = ["petstore.yaml"],
)
openapi_generator(
name = "petstore_java",
generator = "java",
specs = ["petstore.yaml"],
)
openapi_generator(
name = "petstore_java_feign",
additional_properties = {
"library": "feign",
},
generator = "java",
specs = ["petstore.yaml"],
)
openapi_generator(
name = "petstore_java_no_tests",
generator = "java",
specs = ["petstore.yaml"],
system_properties = {
"apiTests": "false",
"modelTests": "false",
},
)
openapi_generator(
name = "petstore_java_bigdecimal",
generator = "java",
specs = ["petstore.yaml"],
type_mappings = {
"Integer": "java.math.BigDecimal",
},
)
openapi_generator(
name = "petstore_java_reserved_words",
generator = "java",
reserved_words_mappings = [
"interface=interface",
],
specs = ["petstore.yaml"],
)
openapi_generator(
name = "petstore_python_flask_with_config_tag",
config = "config.yaml",
generator = "python-flask",
specs = ["petstore.yaml"],
)
openapi_generator(
name = "petstore_python_flask_with_template_dir",
generator = "python-flask",
specs = ["petstore.yaml"],
template_dir = "python-templates",
)
openapi_generator(
name = "petstore_python_nextgen_with_multiple_specs",
generator = "python-nextgen",
specs = glob(["petstore-separate/**/*.yaml"]),
)