Skip to content

Remote method does not show up in swagger #67

Description

@superkhau
  1. If you create a remote method in a boot (server/boot/your-script.js) script, it does not show up in the explorer.
  2. If you create a remote method in server/server.js, it does not show up in explorer.

For point 1, @raymondfeng suggested you can get around it by make sure your script loads first (like changing your-script.js to a.js to make sure it loads first). I confirmed the workaround and it does work, but there needs to be a better solution than naming your scripts to load first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions