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 Profile] While API is removing the related ApiDoc instance isn't #3181

Closed
marla-singer opened this issue Nov 29, 2017 · 0 comments
Closed
Assignees
Labels

Comments

@marla-singer
Copy link
Contributor

Verified on local side. On nightly and other instances it is hard to catch error because a developer doesn't have access to MongoDB

Steps

  1. Create an API
  2. Upload Swagger specification as file
  3. Find the related apiDocs in mongoDB and copy value of fileId field in the notebook;
  4. Remove the API

Expected result

  1. API is successful removed
  2. The related ApiDocs is successful removed
  3. The related DocumentationFiles is successful removed.

Actual result

  1. API is successful removed
  2. The related ApiDocs isn't removed. A developer can find one using query db.apiDocs.find({ fileId: "fileId" });
  3. The related DocumentationFiles isn't removed. A developer can find one using query db.DocumentationFiles.file.find({ _id: ObjectId("fileId") });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant