File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed
Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ openapi : 3.2.0
2+ info :
3+ summary : Testing jsonSchemaDialect
4+ title : My API
5+ version : 1.0.0
6+ license :
7+ name : Apache 2.0
8+ identifier : Apache-2.0
9+ jsonSchemaDialect : https://some/other/dialect
10+ components :
11+ schemas :
12+ WithDollarSchema :
13+ $id : " locked-metaschema"
14+ $schema : https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS
15+ paths : {}
Original file line number Diff line number Diff line change 1+ openapi : 3.2.0
2+ info :
3+ title : API
4+ version : 1.0.0
5+ paths :
6+ /user :
7+ parameters :
8+ - in : querystring
9+ name : json
10+ content :
11+ application/json :
12+ schema :
13+ # Allow an arbitrary JSON object to keep
14+ # the example simple
15+ type : object
16+ # DEPRECATED: don't use example keyword inside Schema Object
17+ example : {
18+ " numbers " : [1, 2],
19+ " flag " : null
20+ }
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ paths:
4545 operationRef : https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1%7Busername%7D/get
4646 parameters :
4747 username : $response.body#/username
48+ withBody :
49+ operationId : queryUserWithBody
50+ requestBody :
51+ userId : $request.path.id
4852 # the path item of the linked operation
4953 /users/{userid}/address :
5054 parameters :
Original file line number Diff line number Diff line change 66 license :
77 name : Apache 2.0
88 identifier : Apache-2.0
9+ x-tensions : can appear in many places
910paths :
1011 / :
1112 get :
You can’t perform that action at this time.
0 commit comments