()
| 111 | ) |
| 112 | |
| 113 | func init() { |
| 114 | messageSchema = genMessageSchema() |
| 115 | messagesSchema = genMessagesSchema() |
| 116 | messageSchemaRef = openapi3.NewSchemaRef("#/components/schemas/Message", messageSchema) |
| 117 | messagesSchemaRef = openapi3.NewSchemaRef("#/components/schemas/Messages", messagesSchema) |
| 118 | |
| 119 | responseSchema = genResponseSchema() |
| 120 | components = genComponents() |
| 121 | responseSchemaRef = openapi3.NewSchemaRef("#/components/schemas/Response", responseSchema) |
| 122 | } |
| 123 | |
| 124 | func genMessageSchema() *openapi3.Schema { |
| 125 | result := openapi3.NewObjectSchema() |
nothing calls this directly
no test coverage detected