From 4525b2ad5a2e1a5bb850925ba6701fa0eeb21797 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Tue, 2 Feb 2021 20:47:25 -0800 Subject: [PATCH] swagger --- api/plex/plex_models/tax_return.go | 25 ------------------------- swagger/plex-taxnexus.yaml | 2 -- 2 files changed, 27 deletions(-) diff --git a/api/plex/plex_models/tax_return.go b/api/plex/plex_models/tax_return.go index 0906764..f803fe9 100644 --- a/api/plex/plex_models/tax_return.go +++ b/api/plex/plex_models/tax_return.go @@ -43,9 +43,6 @@ type TaxReturn struct { // district taxes DistrictTaxes []*DistrictTaxes `json:"DistrictTaxes"` - // estimated report - EstimatedReport *TaxReturnPanel `json:"EstimatedReport,omitempty"` - // excess tax collected ExcessTaxCollected float64 `json:"ExcessTaxCollected,omitempty"` @@ -142,10 +139,6 @@ func (m *TaxReturn) Validate(formats strfmt.Registry) error { res = append(res, err) } - if err := m.validateEstimatedReport(formats); err != nil { - res = append(res, err) - } - if err := m.validateSummaryReport(formats); err != nil { res = append(res, err) } @@ -256,24 +249,6 @@ func (m *TaxReturn) validateDistrictTaxes(formats strfmt.Registry) error { return nil } -func (m *TaxReturn) validateEstimatedReport(formats strfmt.Registry) error { - - if swag.IsZero(m.EstimatedReport) { // not required - return nil - } - - if m.EstimatedReport != nil { - if err := m.EstimatedReport.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("EstimatedReport") - } - return err - } - } - - return nil -} - func (m *TaxReturn) validateSummaryReport(formats strfmt.Registry) error { if swag.IsZero(m.SummaryReport) { // not required diff --git a/swagger/plex-taxnexus.yaml b/swagger/plex-taxnexus.yaml index 4af8362..574e3c5 100644 --- a/swagger/plex-taxnexus.yaml +++ b/swagger/plex-taxnexus.yaml @@ -328,8 +328,6 @@ definitions: format: double SummaryReport: $ref: "#/definitions/TaxReturnPanel" - EstimatedReport: - $ref: "#/definitions/TaxReturnPanel" CountyReports: items: $ref: "#/definitions/TaxReturnPanel"