Skip to content

Commit 1e3b439

Browse files
committed
moved test set inputs
1 parent 0e69c63 commit 1e3b439

4 files changed

Lines changed: 48 additions & 0 deletions

File tree

src/main/groovy/com/github/hauner/openapi/test/TestSet.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class TestSet {
2222

2323
static def testSetsCore = [
2424
'bean-validation',
25+
'endpoint-exclude'
2526
]
2627

2728
static def testSetsFramework = [
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
items:
2+
- openapi.yaml
3+
- mapping.yaml
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
openapi-processor-spring: v2
2+
3+
options:
4+
package-name: generated
5+
6+
map:
7+
result: org.springframework.http.ResponseEntity
8+
9+
paths:
10+
/endpoint-exclude/{foo}:
11+
exclude: true
12+
13+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
openapi: 3.0.2
2+
info:
3+
title: test excluding endpoint
4+
version: 1.0.0
5+
6+
paths:
7+
/endpoint/{foo}:
8+
get:
9+
parameters:
10+
- name: foo
11+
description: dummy paramter
12+
in: path
13+
required: true
14+
schema:
15+
type: string
16+
responses:
17+
'204':
18+
description: empty
19+
20+
/endpoint-exclude/{foo}:
21+
get:
22+
parameters:
23+
- name: foo
24+
description: dummy parameter
25+
in: path
26+
required: true
27+
schema:
28+
type: string
29+
responses:
30+
'204':
31+
description: empty

0 commit comments

Comments
 (0)