nextcloud / nextcloud/openapi-extractor

Sometimes misleading error message: Route ignored because of OpenAPI attribute

Open
#258 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
11
Forks
4
Avg merge
10h 18m
Merged PRs (30d)
8

Description

This might also be because it is a legacy non-OCS route and you actually have to add #[OpenAPI(scope: OpenAPI::SCOPE_DEFAULT)] for the route to be included.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing extraction for a legacy non-OCS route that uses an OpenAPI attribute, as described in the issue. Trace the misleading route-ignored error and determine the expected message or inclusion behavior; done when the reported case is handled accurately and verified by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.