Closed opoudjis closed 1 year ago
11:30 PM, 2022-12-19
1790 errors, 30728 warnings
Errors:
create/updateObject
is not expected here: https://github.com/nsip/specgen_input_au/issues/50: 960name
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 25array
but got null
: https://github.com/nsip/specgen_input_au/issues/54: 4~in
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 2host
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1basePath
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1Warnings:
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
license
field.: 1LearningResource
property must have required property 'ReferenceType'.: 2PersonPicture
property must have required property 'Type'.: 2AggregateStatisticInfo
property must have required property 'Type'.: 2Activity
property must have required property 'EvaluationType'.: 2IdentityAssertions
property must have required property 'SchemaName'.: 5DepartureSchool
property must have required property 'City'.: 5ActivityTime
property must have required property 'Units'.: 5ParentObjectRefId
property type must be string.: 8CalculationRule
property type must be string.: 8IdentityAssertion
property type must be string.: 8ManagingSchool
property type must be string.: 8Location
property type must be string.: 8OtherLEA
property type must be string.: 8BilledEntity
property type must be string.: 8InvoicedEntity
property type must be string.: 8ResourceRefId
property type must be string.: 8PersonRefId
property type must be string.: 8Duration
property type must be integer.: 8code
property type must be integer.: 13DomainScore
property must have required property 'PlausibleScaledValueList'.: 15DomainScore
property must have required property 'ScaledScoreStandardError'.: 15DomainScore
property must have required property 'ScaledScoreLogitValue'.: 15DomainScore
property must have required property 'ScaledScoreLogitStandardError'.: 15DomainScore
property must have required property 'RawScore'.: 15SIF_RefId
property type must be string.: 16LocationRefId
property type must be string.: 16OtherCodeList
property must have required property 'Codeset'.: 50OtherCode
property type must be string.: 80Warning 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
10:00 PM, 2022-12-20
~1790~ 1761 errors, ~30728~ 24499 warnings
Errors:
create/updateObject
is not expected here: https://github.com/nsip/specgen_input_au/issues/50: 960name
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 25~in
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 2~host
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1~basePath
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1~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
PersonPicture
property must have required property 'Type'.: 2LearningResource
property must have required property 'ReferenceType'.: 2Activity
property must have required property 'EvaluationType'.: 2AggregateStatisticInfo
property must have required property 'Type'.: 2ActivityTime
property must have required property 'Units'.: 5IdentityAssertions
property must have required property 'SchemaName'.: 5DepartureSchool
property must have required property 'City'.: 5Location
property type must be string.: 8PictureSource
property type must be string.: 8Duration
property type must be integer.: 8CalculationRule
property type must be string.: 8code
property type must be integer.: 13PersonRefId
property type must be string.: 16OtherLEA
property type must be string.: 16ParentObjectRefId
property type must be string.: 16ManagingSchool
property type must be string.: 16ResourceRefId
property type must be string.: 16InvoicedEntity
property type must be string.: 16BilledEntity
property type must be string.: 16LocationRefId
property type must be string.: 32SIF_RefId
property type must be string.: 32OtherCodeList
property must have required property 'Codeset'.: 5011:30 PM, 2022-12-21
1763 errors, 24119 warnings
The remaining issues are:
Errors:
create/updateObject
is not expected here: https://github.com/nsip/specgen_input_au/issues/50: 960Warnings:
Warning Goessner misvalidation: https://github.com/nsip/specgen_input_au/issues/47: ~23214~ 23234
Warning XML misvalidation :: https://github.com/nsip/specgen_input_au/issues/56 : 14
Example value must conform to the schema: must match exactly one schema in oneOf: (https://github.com/nsip/specgen_input_au/issues/59): ~163~ 489
Warning info-license rule :: Info object should contain license
field.: 1
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
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: `` property must NOT have unevaluated properties {Data Model}.: 4 xml:lang attribute in example object root is being ignored, don't worry about it
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: {Data Model} property must NOT have unevaluated properties {Data Model}.: 4 xml:lang attribute in example object root is being ignored, don't worry about it
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: must NOT have unevaluated properties {Data Model}.: 5 https://github.com/nsip/specgen_input_au/issues/59
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: `` property must have required property 'City'.: 10 I have already fixed that in source, no idea why it's still showing up
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: code
property type must be integer.: 13 Points to validation errors with infrastructure examples
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: `` property type must be string.: 16 Points to validation errors with infrastructure examples, I think
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: {Infrastructure} property must NOT have unevaluated properties {Infrastructure}.: 161 Points to validation errors with infrastructure examples
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: must NOT have unevaluated properties {Infrastructure}.: 163 Points to validation errors with infrastructure examples
17:30, 2023-01-16
~1763~ 1760 errors, ~24119~ 24074 warnings
The remaining issues are:
Errors:
create/updateObject
is not expected here: https://github.com/nsip/specgen_input_au/issues/50: 960Warnings:
Warning Goessner misvalidation: https://github.com/nsip/specgen_input_au/issues/47: 23234
Warning XML misvalidation :: https://github.com/nsip/specgen_input_au/issues/56 : 14
Example value must conform to the schema: must match exactly one schema in oneOf: (https://github.com/nsip/specgen_input_au/issues/59): 484
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
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 Points to validation errors with infrastructure examples
~Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: `` property type must be string.: 16~ _Turned out to be another instance of https://github.com/nsip/specgen_input_au/issues/48_
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: {Infrastructure} property must NOT have unevaluated properties {Infrastructure}.: 161 Points to validation errors with infrastructure examples
Warning no-invalid-media-type-examples rule :: Example value must conform to the schema: must NOT have unevaluated properties {Infrastructure}.: 163 Points to validation errors with infrastructure examples
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.
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
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.
@opoudjis Wow!
As of 19:00, 2022-12-19:
Now validating correctly.
Status as of right now:
1794 errors, 19468 warnings
Commenting out all Goessner examples:
1794 errors, 5682 warnings
Errors:
create/updateObject
is not expected here: https://github.com/nsip/specgen_input_au/issues/50: 960name
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 25array
but gotnull
: https://github.com/nsip/specgen_input_au/issues/54: 4in
is not expected here: https://github.com/nsip/specgen_input_au/issues/45: 25host
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1basePath
is not expected here: https://github.com/nsip/specgen_input_au/issues/55: 1Warnings:
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
license
field.: 1Activity
property must have required property 'EvaluationType'.: 2AggregateStatisticInfo
property must have required property 'Type'.: 2PersonPicture
property must have required property 'Type'.: 2BilledEntity
property type must be string.: 3OtherLEA
property type must be string.: 3Location
property type must be string.: 3IdentityAssertions
property must have required property 'SchemaName'.: 5ActivityTime
property must have required property 'Units'.: 5CalculationRule
property type must be string.: 8PersonRefId
property type must be string.: 8InvoicedEntity
property type must be string.: 8ParentObjectRefId
property type must be string.: 8IdentityAssertion
property type must be string.: 8Duration
property type must be integer.: 8ManagingSchool
property type must be string.: 8ResourceRefId
property type must be string.: 8code
property type must be integer.: 13LocationRefId
property type must be string.: 16SIF_RefId
property type must be string.: 16OtherCodeList
property must have required property 'Codeset'.: 45OtherCode
property type must be string.: 75