Skip to content

Fix incorrect schema references in test feature file #41

Closed

Description

@maheshc01

Problem description

The test feature file code/Test_definitions/application-endpoint-registration.feature references two schema names that do not exist in the API specification:

  1. Line 24 — registerApplicationEndpoints success scenario validates the response against /components/schemas/ApplicationEndpointsId, but the actual schema defined in the YAML is ApplicationEndpointListId.

  2. Lines 33 and 43 — getAllRegisteredApplicationEndpoints and getApplicationEndpointsById success scenarios validate responses against /components/schemas/ApplicationEndpoints, but the actual schema defined in the YAML is ApplicationEndpointList.

These mismatches mean the schema validation steps in the feature file will fail or reference non-existent schemas.

Expected action

Update the feature file to use the correct schema names:

  • /components/schemas/ApplicationEndpointsId → /components/schemas/ApplicationEndpointListId (line 24)
  • /components/schemas/ApplicationEndpoints → /components/schemas/ApplicationEndpointList (lines 33 and 43)

Additional context

Correct schema names are defined in code/API_definitions/application-endpoint-registration.yaml:

  • ApplicationEndpointListId at components/schemas
  • ApplicationEndpointList at components/schemas

Activity

  1. added
    bugSomething isn't working
    and removed
    bugSomething isn't working
    on Jul 21, 2026
  2. self-assigned this
    on Jul 21, 2026
  3. added a commit that references this issue on Jul 21, 2026
    34f33aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions