Skip to content

API definitions are not linked to Operations #240

Description

@TiberiuGarbea

Command that triggered the bug

apiops extract and publish

Expected behavior

I am trying apiops_cli for managing a multi team APIM.
I extract a single API and push it to a test APIM.
I configure filter with the respective api and required named values. All other are mentioned with [].
I get the API to the test APIM instance, I get the operations, definitions and the named values.
But I do not get the Definitions referenced to the Operations.

Actual behavior

Definitions are found in the export at schemas/1758020457424/schemaInformation.json and they are also visible in the portal at Definitions Tab but they are not linked to respective API operations.
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ScanResponse"
},
Schema ref is missing for all operations.

apiops CLI version

$ apiops --version: 0.4.0-alpha.2

Environment details

command runs in a gitlab pipeline on self hosted gitlab runner image: mcr.microsoft.com/dotnet/sdk:6.0
Nodejs version node-v22.14.0-linux-x64

CI/CD environment

None

Is this bug blocking you?

Yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething brokenP1This sprint

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions