wso2 / wso2/docs-apim

Add document content response code should be changed from 200 to 201

Open
#5,912 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API-M-4.1.0 Component/ProductAPIs Docs/TW Severity/Minor Type/Bug
Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

Description:
In https://apim.docs.wso2.com/en/latest/reference/product-apis/publisher-apis/publisher-v2/publisher-v2/#operation/addAPIDocumentContent status code for a successful request is mentioned as 200. But it should be 201. This change should be propagted to OAS of the carbon-apimgt as well.

image

Contributor guide

No contributing guide indexed for this repository

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 with the addAPIDocumentContent operation in the linked Publisher API documentation and locate the corresponding OAS in carbon-apimgt. Confirm where the successful response is defined, then ensure both the rendered documentation and OAS use status code 201 instead of 200.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.