Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@api url with extension produce a warning #1435

Open
mcube27 opened this issue Oct 18, 2023 · 1 comment
Open

@api url with extension produce a warning #1435

mcube27 opened this issue Oct 18, 2023 · 1 comment

Comments

@mcube27
Copy link

mcube27 commented Oct 18, 2023

Describe the bug

When adding an extension to the @api url, apidoc does not detect @apiParam

Steps to reproduce

/**
     * @api {delete} /workplaces/:id.json Suppression de salle
     * @apiGroup Resources
     * @apiParam {number} id ID de la salle
     * @apiBody {array} [serviceIds] Ids des services à supprimer
     */

Produce a warning

warn: @apiParam 'id' was defined but does not appear in URL of @api 'Suppression de salle'

Information

  • Version of apidoc: 1.2.0
  • Operating system e.g. Windows10:
  • Node version: 20.4.0
  • Browser (e.g. firefox, chrome): firefox (not relevant)
@NicolasCARPi
Copy link
Collaborator

Hello,

Please take into account that there is nobody available to maintain this library. See #1436.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants