[Refactor] create Python abstract class (#8817)

* create python abstract base class

* refactor AbstractPythonConnexionServerCodegen

* update doc
This commit is contained in:
William Cheng
2021-02-25 14:10:49 +08:00
committed by GitHub
parent a31dba5b88
commit df1ae03960
10 changed files with 802 additions and 997 deletions

View File

@@ -608,15 +608,19 @@ components:
properties:
id:
format: int64
title: id
type: integer
petId:
format: int64
title: petId
type: integer
quantity:
format: int32
title: quantity
type: integer
shipDate:
format: date-time
title: shipDate
type: string
status:
description: Order Status
@@ -624,9 +628,11 @@ components:
- placed
- approved
- delivered
title: status
type: string
complete:
default: false
title: complete
type: boolean
title: Pet Order
type: object
@@ -640,8 +646,10 @@ components:
properties:
id:
format: int64
title: id
type: integer
name:
title: name
type: string
title: Pet category
type: object
@@ -690,8 +698,10 @@ components:
properties:
id:
format: int64
title: id
type: integer
name:
title: name
type: string
title: Pet Tag
type: object
@@ -760,10 +770,13 @@ components:
properties:
code:
format: int32
title: code
type: integer
type:
title: type
type: string
message:
title: message
type: string
title: An uploaded response
type: object