File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
properties_pane/model_level Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ module.exports = {
2020 tags : modelTags ,
2121 security : modelSecurity ,
2222 servers : modelServers ,
23+ jsonSchemaDialect,
2324 } = data . modelData [ 0 ] ;
2425
2526 const containersIdsFromCallbacks = commonHelper . getContainersIdsForCallbacks ( data ) ;
@@ -45,6 +46,7 @@ module.exports = {
4546 const openApiSchema = {
4647 openapi : specVersion ,
4748 info,
49+ ...( jsonSchemaDialect && { jsonSchemaDialect } ) ,
4850 servers,
4951 paths,
5052 ...( webhooks && Object . keys ( webhooks ) . length ? { webhooks } : { } ) ,
Original file line number Diff line number Diff line change @@ -338,6 +338,14 @@ making sure that you maintain a proper JSON format.
338338 }
339339 ]
340340 },
341+ {
342+ "propertyName" : " jsonSchemaDialect" ,
343+ "propertyKeyword" : " jsonSchemaDialect" ,
344+ "propertyType" : " text" ,
345+ "propertyFormat" : " uri" ,
346+ "shouldValidate" : true ,
347+ "propertyTooltip" : " "
348+ },
341349 {
342350 "propertyName" : " servers" ,
343351 "propertyType" : " group" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ const modelConfig = {
33 openapi : 'dbVersion' ,
44 termsOfService : 'termsOfService' ,
55 info : 'info' ,
6+ jsonSchemaDialect : "jsonSchemaDialect" ,
67 servers : 'servers' ,
78 security : 'security' ,
89 tags : [ {
You can’t perform that action at this time.
0 commit comments