UNPKG

mares-swagger-spec-maker

Version:

mares framework ���조에 맞춰서openapi spec을 combine 해주는 모듈입니다.

27 lines (25 loc) 563 B
const spec = { components: { schemas: { Test: { type: 'object', properties: { id: { type: 'integer' }, name: { type: 'string' } } } }, securitySchemes: { AppKeyAuth: { type: 'appKey', in: 'header', name: 'X-APP-TOKEN' } } } }; module.exports = spec;