1.4.0 • Published 3 years ago

@galenjs/swagger v1.4.0

Weekly downloads
22
License
MIT
Repository
github
Last release
3 years ago

swagger

galenjs swagger document

Usage

install

pnpm install @galenjs/swagger

example

const buildSwaggerDocs = require('@galenjs/swagger')

const openApiInfo = {
  title: 'galenJs API document',
  version: 'v3',
  description: 'openApi 3.0 document',
  contact: {
    name: 'AlfieriChou',
    email: 'alfierichou@gmail.com',
    url: 'https://github.com/AlfieriChou/galen/tree/master/packages/swagger'
  },
  license: {
    name: 'MIT',
    url: 'https://github.com/AlfieriChou/galen/blob/master/LICENSE'
  }
}

buildSwaggerDocs(openApiInfo, {
  schemas: ctx.jsonSchemas, remoteMethods: ctx.remoteMethods
})
1.4.0

3 years ago

1.0.0

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.7

4 years ago

0.4.6

4 years ago

0.4.6-alpha.0

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.2

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago