-
Notifications
You must be signed in to change notification settings - Fork 45
Improve Forecasting Parameters Metadata for API & OpenAPI Docs #1824
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…Schema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…hema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…sSchema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…Schema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…lds in ForecasterParametersSchema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…hema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…Schema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…rsSchema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…dd field defaults Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the documentation of forecasting parameters in the ForecasterParametersSchema class by adding comprehensive metadata to each field, including descriptions, example values, and default values where applicable. This improves the auto-generated OpenAPI specification and makes the API more self-documenting for developers.
Key changes:
- Added detailed
metadatadictionaries to all schema fields with descriptions and examples - Documented default values for parameters throughout the schema
- Improved formatting and readability by expanding field definitions across multiple lines
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Documentation build overview
Show files changed (1 files in total): 📝 1 modified | ➕ 0 added | ➖ 0 deleted
|
Co-authored-by: Copilot <[email protected]> Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
…rParametersSchema Signed-off-by: Mohamed Belhsan Hmida <[email protected]>
Description
This PR enhances the documentation of forecasting parameters by improving the metadata defined in
ForecasterParametersSchema. Each field now includes:This improves the generated OpenAPI specification, makes the API more self-documenting, and helps developers and users understand how each forecasting parameter behaves without referring to the CLI code
Related Items
closes #1815
Sign-off