amend openapi spec
This commit is contained in:
parent
8e44fe7d7d
commit
4b69e68c63
@ -81,7 +81,7 @@ paths:
|
||||
- in: path
|
||||
name: id
|
||||
schema:
|
||||
type: string
|
||||
type: integer
|
||||
required: true
|
||||
description: Repository ID
|
||||
responses:
|
||||
@ -123,7 +123,7 @@ paths:
|
||||
- in: path
|
||||
name: id
|
||||
schema:
|
||||
type: number
|
||||
type: integer
|
||||
required: true
|
||||
description: Repository ID
|
||||
requestBody:
|
||||
@ -202,7 +202,7 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: number
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
example: "molci"
|
||||
|
||||
2
server/src/types/openapi.d.ts
vendored
2
server/src/types/openapi.d.ts
vendored
@ -66,7 +66,7 @@ declare namespace Paths {
|
||||
}
|
||||
namespace GetRepo {
|
||||
namespace Parameters {
|
||||
export type Id = string;
|
||||
export type Id = number;
|
||||
}
|
||||
export interface PathParameters {
|
||||
id: Parameters.Id;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user