@dasmeta/event-manager-utils

0.1.17 • Public • Published

Event Manager Backend

##Before push new commit

  • On Strapi UI go to PLUGINS -> Documentation tab
  • Click Regenerate button
  • Navigate to file - app/extensions/documentation/documentation/1.0.0/full_documentation.json
  • Copy content and paste it to Swagger editor online tool - https://editor.swagger.io/

#####You will see error about declared path parameter "id"

  • Jump to error line and add parameter part of code
      parameters:
        - in: path
          name: id
          required: true
          schema:
           type: string

between rows

post:
  deprecated: false

Result will looks like:

   post:
     parameters:
      - in: path
        name: id
        required: true
        schema:
         type: string
     deprecated: false
  • Find row - name: '=' and replace to - name: _e
  • Generate client code
    • Click "Generate Client" button and choose "typescript-axios"

Readme

Keywords

none

Package Sidebar

Install

npm i @dasmeta/event-manager-utils

Weekly Downloads

2

Version

0.1.17

License

Apache-2.0

Unpacked Size

35.9 kB

Total Files

21

Last publish

Collaborators

  • gevorgmargaryan
  • hovhannes.babayan
  • aram.dasmeta.com