Skip to content

Commit

Permalink
remove unused resources in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 14, 2024
1 parent 5b1ccc7 commit f11ab62
Showing 1 changed file with 7 additions and 56 deletions.
63 changes: 7 additions & 56 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,26 +216,6 @@ paths:
schema:
type: string

# /users/{id}:

# get:
# tags:
# - user
# parameters:
# - name: id
# in: path
# required: true
# schema:
# type: integer
# summary: Get information about a user
# responses:
# "200":
# description: OK
# content:
# application/json:
# schema:
# $ref: "#/components/schemas/User"

components:
securitySchemes:
bearerAuth:
Expand All @@ -255,17 +235,17 @@ components:
type: string
pattern: '^v?\d+\.\d+\.\d+(?:-.+)?$'
examples:
- v1.0.0
- v2.3.4
- 1.3.0
- v1.0.0-beta
- "v1.0.0"
- "v2.3.4"
- "1.3.0"
- "v1.0.0-beta"

GDVersionString:
type: string
examples:
- 2.200
- 2.204
- 2.205
- "2.200"
- "2.204"
- "2.205"

GDVersionObject:
type: object
Expand All @@ -291,35 +271,6 @@ components:
- type: "null"
- $ref: "#/components/schemas/GDVersionString"

UserSimple:
type: object
properties:
id:
type: integer
name:
type: string
required:
- id
- name

User:
type: object
properties:
id:
type: integer
name:
type: string
examples:
- mat
github:
type: string
description: GitHub username
examples:
- matcool
required:
- id
- name

Mod:
type: object
properties:
Expand Down

0 comments on commit f11ab62

Please sign in to comment.