File tree Expand file tree Collapse file tree
groovy/com/github/hauner/openapi/test
resources/tests/endpoint-exclude Expand file tree Collapse file tree Original file line number Diff line number Diff 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 = [
Original file line number Diff line number Diff line change 1+ items :
2+ - openapi.yaml
3+ - mapping.yaml
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments