Skip to content

Commit e5665fc

Browse files
authored
Support OpenAPI specs with .yml file ending (#30)
Currently, only OpenAPI specifications with `.yaml` or `.json` are supported. YAML files with `.yml` files are equally as idiomatic as `.yaml` files, and should be supported too.
1 parent 2103017 commit e5665fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/openapi_generator.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ _openapi_generator = rule(
150150
allow_single_file = [
151151
".json",
152152
".yaml",
153+
".yml",
153154
],
154155
),
155156
"generator": attr.string(mandatory = True),

0 commit comments

Comments
 (0)