nsip / specgen_input_au

Capture of specgen input files
2 stars 0 forks source link

Status update #58

Closed opoudjis closed 1 year ago

opoudjis commented 1 year ago

As of 19:00, 2022-12-19:

Now validating correctly.

Status as of right now:

1794 errors, 19468 warnings

Commenting out all Goessner examples:

\r(\s+)(create|update)Goessner:\r
\r#\1\2Goessner:\r#

1794 errors, 5682 warnings

Errors:

Warnings:

Excluding Goessner examples, which generate a lot of undetected errors

Other, include https://github.com/nsip/specgen_input_au/issues/40, https://github.com/nsip/specgen_input_au/issues/53

opoudjis commented 1 year ago

11:30 PM, 2022-12-19

1790 errors, 30728 warnings

Errors:

Warnings:

Excluding Goessner examples, which generate a lot of undetected errors

Other, include https://github.com/nsip/specgen_input_au/issues/40, https://github.com/nsip/specgen_input_au/issues/53

opoudjis commented 1 year ago

Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: DomainScore property must have required property 'PlausibleScaledValueList'.: 15 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: DomainScore property must have required property 'ScaledScoreStandardError'.: 15 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: DomainScore property must have required property 'ScaledScoreLogitValue'.: 15 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: DomainScore property must have required property 'ScaledScoreLogitStandardError'.: 15 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: DomainScore property must have required property 'RawScore'.: 15

Have fixed in source

opoudjis commented 1 year ago

10:00 PM, 2022-12-20

~1790~ 1761 errors, ~30728~ 24499 warnings

Errors:

Warnings:

Excluding Goessner examples, which generate a lot of undetected errors

Others which are almost all https://github.com/nsip/specgen_input_au/issues/40

opoudjis commented 1 year ago

11:30 PM, 2022-12-21

1763 errors, 24119 warnings

The remaining issues are:

Errors:

Warnings:

opoudjis commented 1 year ago

17:30, 2023-01-16

~1763~ 1760 errors, ~24119~ 24074 warnings

The remaining issues are:

Errors:

Warnings:

opoudjis commented 1 year ago

12:30, 2023-01-19

I have segregated OpenAPI 3.0 from OpenAPI 3.1 output, and omitted Goessner and XML examples from the former, in accordance with https://github.com/nsip/specgen_input_au/issues/39

1760 errors, ~24074~ 554 warnings

Same Errors.

Warnings:

Warning no-unused-components rule :: Component: "schemaDefinitions" is never used.: 1 Warning no-unused-components rule :: Component: "responsePayloads" is never used.: 1 Warning no-unused-components rule :: Component: "requestPayloads" is never used.: 1 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: ` property type must be object.: 2 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema:code` property type must be integer.: 13 Warning XML misvalidation :: : 14 Warning Goessner misvalidation :: : 34 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: {Infrastructure} property must NOT have unevaluated properties {Infrastructure}.: 161 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: must NOT have unevaluated properties {Infrastructure}.: 163 Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: must match exactly one schema in oneOf.: 164 (#59)

The remaining XML and Goessner examples are in the SIF infrastructure content, which is currently hard-coded, but which I am about to try to regenerate dynamically, omitting the Goessner/XML references for OpenAPI 3.0.

opoudjis commented 1 year ago

19:00, 2023-01-23

1760 errors, ~554~ 3 warnings

Warning no-unused-components rule :: Component: "requestPayloads" is never used.: 1 Warning no-unused-components rule :: Component: "responsePayloads" is never used.: 1 Warning no-unused-components rule :: Component: "schemaDefinitions" is never used.: 1 Error security-defined rule :: Every operation should have security defined on it or on the root level.: 800 Error spec rule :: Property create/updateObject is not expected here.: 960

Warning no-unused-components rule :: Component: "requestPayloads" is never used.: 1 Warning no-unused-components rule :: Component: "responsePayloads" is never used.: 1 Warning no-unused-components rule :: Component: "schemaDefinitions" is never used.: 1 Error security-defined rule :: Every operation should have security defined on it or on the root level.: 800 Error spec rule :: Property create/updateObject is not expected here.: 960

opoudjis commented 1 year ago

18:15, 2023-01-24

validating OpenAPI3.0_AU.yaml...
OpenAPI3.0_AU.yaml: validated in 5496ms

Woohoo! Your OpenAPI definition is valid. 🎉

Zero errors. Zero warnings.

4pins commented 1 year ago

@opoudjis Wow!