Skip to content

Remove tools/api_refs/openapi.php#3194

Draft
adriendupuis wants to merge 1 commit into
5.0from
fix-openapi
Draft

Remove tools/api_refs/openapi.php#3194
adriendupuis wants to merge 1 commit into
5.0from
fix-openapi

Conversation

@adriendupuis
Copy link
Copy Markdown
Contributor

@adriendupuis adriendupuis commented May 12, 2026

Question Answer
JIRA Ticket IBX-10444
Versions 5.0
Edition All

Remove openapi.php requestBody & responses mime types sorting tool:
Now JSON is before XML in the source in-code OpenAPI documentation.

See ibexa/rest#195 for more information.

Side-note: The script introduces some minor errors with response codes, they must stay strings but the script converts them into integer.

If you load https://raw.githubusercontent.com/ibexa/documentation-developer/5.0/docs/api/rest_api/rest_api_reference/openapi.yaml into https://editor.swagger.io/ you can see several "Responses Object uses HTTP Status Codes outside of allowed IANA HTTP Status code registry" due to outsider 200 not being the standard '200', and so on.

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@github-actions
Copy link
Copy Markdown

Preview of modified files: no change to preview.

@sonarqubecloud
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant