Skip to content

Commit 82907c7

Browse files
committed
feat(swagger): add yaml format
1 parent 67afd17 commit 82907c7

File tree

2 files changed

+376
-544
lines changed

2 files changed

+376
-544
lines changed

blocks.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"title": "Swagger UI",
66
"description": "Visualize APIs defined in Swagger 2.0 or OAS 3.0",
77
"entry": "blocks/swagger/index.tsx",
8-
"matches": ["*.json", "*.yml"],
8+
"matches": ["*.json", "*.yml", "*.yaml"],
99
"example_path": "https://github.com/gothinkster/realworld/blob/main/api/openapi.yml"
1010
}
1111
]

0 commit comments

Comments
 (0)