mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
bundle only the files that has content and add test for filtering root files in bundle according to the version.
24 lines
672 B
YAML
24 lines
672 B
YAML
openapi: 3.1.0
|
|
info:
|
|
title: Sample API
|
|
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
|
|
version: 0.1.9
|
|
|
|
servers:
|
|
- url: http://api.example.com/v1
|
|
description: Optional server description, e.g. Main (production) server
|
|
- url: http://staging-api.example.com
|
|
description: Optional server description, e.g. Internal staging server for testing
|
|
|
|
paths:
|
|
/users/{userId}:
|
|
get:
|
|
summary: Get a user by ID
|
|
responses:
|
|
200:
|
|
description: A single user.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "./schemas/user.yaml"
|