fix: do not add a config folder to api path (#1187)

This commit is contained in:
Ihor Karpiuk
2023-07-26 14:37:07 +03:00
committed by GitHub
parent 0976fbabab
commit 2e02eda23b
11 changed files with 113 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
type: object
properties:
message:
type: string

View File

@@ -0,0 +1,19 @@
openapi: 3.1.0
servers:
- url: http://localhost
info:
title: Sample API
version: 1.0.0
paths:
/hello:
get:
operationId: getMessage
security: []
summary: Get a greeting message
responses:
200:
description: OK
content:
application/json:
schema:
$ref: ./message-schema.yaml

View File

@@ -0,0 +1,5 @@
extends:
- minimal
theme:
openapi:
htmlTemplate: ../index.hbs