Skip to content

Commit 9abf977

Browse files
committed
test(license): add licenseUrl.yaml for regression check alongside identifier test
Related to #1319
1 parent 41abd45 commit 9abf977

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
openapi: 3.1.0
2+
info:
3+
title: License URL Demo API
4+
description: |
5+
Demonstrates `license.url` rendering (regression check).
6+
7+
Verifies that the existing `license.url` behavior is unaffected by the
8+
addition of `license.identifier` support.
9+
version: 1.0.0
10+
license:
11+
name: Apache 2.0
12+
url: https://www.apache.org/licenses/LICENSE-2.0.html
13+
tags:
14+
- name: licenseUrl
15+
description: License url tests
16+
paths:
17+
/license-url:
18+
get:
19+
tags:
20+
- licenseUrl
21+
summary: License rendered via URL
22+
description: |
23+
Verifies that a spec using `license.url` renders a clickable license
24+
link pointing to the provided URL.
25+
responses:
26+
"204":
27+
description: No content

0 commit comments

Comments
 (0)