File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @murat/openapi" ,
33 "exports" : " ./mod.ts" ,
4- "version" : " 0.1.12 " ,
4+ "version" : " 0.1.13 " ,
55 "tasks" : {
66 "lint" : " deno lint" ,
77 "test" : " deno test --allow-all" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @murat/openapi" ,
3- "version" : " 0.1.12 " ,
3+ "version" : " 0.1.13 " ,
44 "license" : " MIT" ,
55 "exports" : " ./mod.ts" ,
66 "imports" : {
Original file line number Diff line number Diff line change @@ -197,7 +197,10 @@ class OpenAPI {
197197 return this ;
198198 }
199199
200- addSecuritySchema ( name : string , schema : { type : OpenAPISecurityTypes ; description ?: string } ) : this {
200+ addSecuritySchema (
201+ name : string ,
202+ schema : { type : OpenAPISecurityTypes ; schema : string ; description ?: string }
203+ ) : this {
201204 if ( ! this . raw . components ) {
202205 this . raw . components = { securitySchemes : { } } ;
203206 }
You can’t perform that action at this time.
0 commit comments