diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 468749b52..670afcf10 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -70,7 +70,7 @@ module.exports = { nav: [ { text: "User Guide", link: "/guide/" }, { text: "Reference", link: "/reference/" }, - { text: "OpenApi", link: "https://oai.github.io/Documentation/" }, + { text: "OpenApi", link: "https://learn.openapis.org/" }, { text: "Releases", link: "https://github.com/zircote/swagger-php/releases" }, ], diff --git a/docs/guide/index.md b/docs/guide/index.md index e8c555b81..057ac6d65 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -4,7 +4,7 @@ The idea is to add `swagger-php` [annotations](annotations.md) or [attributes](attributes.md) next to the relevant PHP code in your application. These will contain the details about your API and -`swagger-php` will convert those into machine-readable [OpenAPI documentation](https://oai.github.io/Documentation/specification.html). +`swagger-php` will convert those into machine-readable [OpenAPI documentation](https://spec.openapis.org/oas/v3.1.0.html). By adding your API documentation next to the corresponding source code (same file!) makes it easy to keep it up-to-date as all details can be modified in one place. diff --git a/docs/index.md b/docs/index.md index b86279796..c9e6ca898 100644 --- a/docs/index.md +++ b/docs/index.md @@ -49,7 +49,7 @@ Use an OpenAPI tool like [Swagger UI ](https://swagger.io/tools/swagger-ui/) to - [User Guide](guide/index.md) - [Reference](reference/index.md) -- [OpenApi Documentation](https://oai.github.io/Documentation/) +- [OpenApi Documentation](https://learn.openapis.org/) - [OpenApi Specification](https://spec.openapis.org/oas/v3.1.0.html) - [Learn by example](https://github.com/zircote/swagger-php/tree/master/Examples) - [Related projects](related-projects.md)