Skip to content

feat: add OpenAPI spec and Swagger UI preview#60

Merged
bfabio merged 1 commit into
italia:mainfrom
creed-bratton:openapi-spec
Apr 23, 2026
Merged

feat: add OpenAPI spec and Swagger UI preview#60
bfabio merged 1 commit into
italia:mainfrom
creed-bratton:openapi-spec

Conversation

@creed-bratton
Copy link
Copy Markdown
Contributor

Adds an OpenAPI 3.1 spec for all endpoints (/v1/status, /v1/validate).

The spec is linted by the existing Spectral CI workflow. A link to the interactive Swagger UI preview (via petstore.swagger.io) is added to the README — no new dependencies, no code changes.

Fix #33.

Comment thread publiccode-validator-api.oas.yaml Outdated
Comment on lines +13 to +15
license:
name: EUPL-1.2
identifier: EUPL-1.2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmm, code license is AGPL-3.0-

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, it is AGPL-3.0-only.

@bfabio bfabio merged commit 5d05882 into italia:main Apr 23, 2026
4 checks passed
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.

Add an OpenAPI specification

2 participants