Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing .yaml files to webapi.qrc #2124

Merged
merged 2 commits into from
May 26, 2024
Merged

Add missing .yaml files to webapi.qrc #2124

merged 2 commits into from
May 26, 2024

Conversation

dforsi
Copy link
Contributor

@dforsi dforsi commented May 25, 2024

This PR adds missing file that resulted in warnings printed in the terminal and errors printed in the web page at http://localhost:8091/doc/swagger-ui/index.html#/Instance/instanceConfigGet

Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.featuresetpresets.items.properties.featureConfigs.items.properties.config.properties.SIDSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingFeatureSetPreset.properties.featureConfigs.items.properties.config.properties.SIDSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.featuresetpresets.items.properties.featureConfigs.items.properties.config.properties.SkyMapSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingFeatureSetPreset.properties.featureConfigs.items.properties.config.properties.SkyMapSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.presets.items.properties.channelConfigs.items.properties.config.properties.ChannelPowerSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingPreset.properties.channelConfigs.items.properties.config.properties.ChannelPowerSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.presets.items.properties.channelConfigs.items.properties.config.properties.FreqScannerSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingPreset.properties.channelConfigs.items.properties.config.properties.FreqScannerSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.presets.items.properties.channelConfigs.items.properties.config.properties.EndOfTrainDemodSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingPreset.properties.channelConfigs.items.properties.config.properties.EndOfTrainDemodSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.presets.items.properties.channelConfigs.items.properties.config.properties.FT8DemodSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingPreset.properties.channelConfigs.items.properties.config.properties.FT8DemodSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.presets.items.properties.channelConfigs.items.properties.config.properties.M17ModSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingPreset.properties.channelConfigs.items.properties.config.properties.M17ModSettings.$ref
Could not resolve reference: undefined undefined

The first time there was a warning in the terminal for a missing favicon.ico and nothing about it in the web page. After fixing the errors (or warnings?!?) above, another file was needed to fix a new error printed in the web page:

Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.featuresetpresets.items.properties.featureConfigs.items.properties.config.properties.MorseDecoderSettings.$ref
Could not resolve reference: undefined undefined
Resolver error at paths./sdrangel/config.get.responses.200.schema.properties.workingFeatureSetPreset.properties.featureConfigs.items.properties.config.properties.MorseDecoderSettings.$ref
Could not resolve reference: undefined undefined

Fixes:
2024-05-25 18:42:35.213 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SID.yaml not found
2024-05-25 18:42:35.221 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SkyMap.yaml not found
2024-05-25 18:42:35.370 (W) StaticFileController::service: File :/webapi/doc/swagger/include/ChannelPower.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FreqScanner.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/EndOfTrainDemod.yaml not found
2024-05-25 18:42:35.444 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FT8Demod.yaml not found
2024-05-25 18:42:35.485 (W) StaticFileController::service: File :/webapi/doc/swagger/include/M17Mod.yaml not found
2024-05-25 19:13:16.040 (W) StaticFileController::service: File :/webapi/doc/swagger/include/MorseDecoder.yaml not found
Makes it easier to see if some file is missing.
@f4exb f4exb merged commit 7939197 into f4exb:master May 26, 2024
2 of 3 checks passed
@dforsi dforsi deleted the fix/webapi branch June 11, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants