fix: minor corrections from automatic validation#27
Conversation
|
Two observations on r4.2 alignment that may be worth addressing (in this PR or a follow-up): 1.
# code/common/CAMARA_common.yaml
DateTime:
type: string
format: date-time
maxLength: 64Should these fields use 2. Error responses and shared schemas still defined inline
Would it make sense to replace the local definitions with responses:
"400":
$ref: "../common/CAMARA_common.yaml#/components/responses/Generic400"I understand this PR's scope is "minor corrections from automatic validation," so these might be better suited for a separate PR. Just flagging the inconsistency since the spec already declares |
|
^ @seralogar good catches, but yes, it may be better to apply in another PR. Meanwhile there appear to still be some missing descriptions and string constraints in the validation report for this PR - @DLondonoD is the intention to fix those here? |
|
@Kevsy, I think your intention was to mention @DLondonoD , a different Diego :-) |
Ooops thanks! Now corrected :) |
30a753c to
4103b87
Compare
|
Hi @seralogar @Kevsy, Thanks for your review! @seralogar I agree that the mentioned inconsistencies should be addressed in a new PR. @Kevsy Most of the remaining notices are related to the absence of defined On the other hand, there are still two warnings in the Update I have created an issue in the tooling repo camaraproject/tooling#296 |
@DLondonoD The issue is fixed; the warnings are gone (see re-run of validation: https://github.com/camaraproject/EdgeApplicationManagement/actions/runs/26240613361?pr=27). |
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
Automatic validation from PR 24 resulted in some warnings (See here).
This PR aims to fix them
Which issue(s) this PR fixes:
Special notes for reviewers:
Changelog input
Additional documentation
This section can be blank.