-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transform api member comment to start newlines
this change transforms the api member comments to start a newline and render multi line comments.
- Loading branch information
Showing
6 changed files
with
586 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
openapi: "3.0.0" | ||
info: | ||
version: 1.0.0 | ||
title: Scarf | ||
license: | ||
name: AllRightsReserved | ||
servers: | ||
- url: https://scarf.sh/api/v1 | ||
paths: | ||
/test: | ||
parameters: | ||
- name: package_query | ||
in: query | ||
required: false | ||
description: > | ||
Use this query parameter to filter for the packages thats suits your use case. | ||
It can be used by passing in either package names or package ids. | ||
To query for multiple packages you can pass in comma separated values. | ||
For example: | ||
``` | ||
package_query=17ea97c0-d350-45ce-9f36-ebb66694196c,558664cd-fece-47f5-a9ca-f30974cf96a5,... | ||
``` | ||
Or if you prefer using package names, you can also pass in | ||
``` | ||
package_query=package_name_1,package_name_2... | ||
``` | ||
schema: | ||
type: string | ||
get: | ||
summary: test | ||
operationId: test | ||
responses: | ||
'200': | ||
description: CSV response without schema | ||
content: | ||
application/json: | ||
schema: | ||
description: Undocumented | ||
type: array | ||
components: {} |
Oops, something went wrong.