From 8b7a3f70706bba60657e9da76c97de6125992622 Mon Sep 17 00:00:00 2001 From: Andrea Volpini Date: Wed, 13 Dec 2023 11:13:47 +0100 Subject: [PATCH] Update sitemap-generator.yaml updating openapi --- api/sitemap-generator.yaml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/api/sitemap-generator.yaml b/api/sitemap-generator.yaml index 7bfc4c0..b526d83 100644 --- a/api/sitemap-generator.yaml +++ b/api/sitemap-generator.yaml @@ -1,13 +1,30 @@ -openapi: 3.0.0 +openapi: 3.0.1 info: title: WordLift Sitemap Generator API - version: 1.0.0 - description: Generate a sitemap from a GraphQL query to a WordLift Knowledge Graph. + description: Generate a sitemap from a GraphQL query to WordLift KG. + termsOfService: https://wordlift.io/terms-of-service/ + contact: + name: WordLift + url: https://wordlift.io + email: hello@wordlift.io + license: + name: (c) copyright 2023-present WordLift + url: https://wordlift.io + version: "1.0" +servers: +- url: https://wl-sitemap-generator.azurewebsites.net +tags: +- name: Sitemap Generator + description: Generate sitemaps using GraphQL queries to WordLift KG. paths: - /sitemap/generator: + /build: post: + tags: + - Sitemap Generator summary: Generate Sitemap - description: Generates a sitemap from a GraphQL query to a WordLift Knowledge Graph. + description: | + Generates a sitemap from a GraphQL query to WordLift KG. You must provide a valid GraphQL query as the request body. + operationId: generateSitemap requestBody: required: true content: