Skip to content

Add OpenAPI documentation with Scalar UI for the REST API - #4637

Open
Livda wants to merge 1 commit into
phpipam:developfrom
Livda:858-openapi-scalar-docs
Open

Add OpenAPI documentation with Scalar UI for the REST API#4637
Livda wants to merge 1 commit into
phpipam:developfrom
Livda:858-openapi-scalar-docs

Conversation

@Livda

@Livda Livda commented Aug 10, 2026

Copy link
Copy Markdown

Adds zircote/swagger-php as a require-dev Composer dependency to generate public/api/openapi.yaml from PHP8 attributes on the 13 API controllers, and exposes it via a self-hosted Scalar viewer (public/api/docs/index.html) linked from the API admin page.

Resolve #858

Adds zircote/swagger-php as a require-dev Composer dependency to generate
public/api/openapi.yaml from PHP8 attributes on the 13 API controllers,
and exposes it via a self-hosted Scalar viewer (public/api/docs/index.html)
linked from the API admin page.
@Livda Livda changed the title #858 - Add OpenAPI documentation with Scalar UI for the REST API Add OpenAPI documentation with Scalar UI for the REST API Aug 10, 2026
@franbuzz

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.

2 participants