-
Notifications
You must be signed in to change notification settings - Fork 117
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
API: GetSchemaType/GetSchemaTypeMapping
export the overall informations about property doc, default value, readonly, ...
#625
Comments
With the implementation of KCL rust doc parser, these field implementations have become feasible and can be added to the API while maintaining compatibility. |
The new API is here @amyXia1994
|
@Peefy good job!
And I might have missed some other necessary fields in the KclType model in the original issue:
Furthermore, if we support generating docs for other "types" of models, such as mixin, protocol, and rule, This API might need some refactoring. Since the spec of all those models might be different, perhaps a new "KCLType" which wraps all those models is needed? |
The
GetSchemaType and GetSchemaTypeMapping
API now export schema Type in following structure:Following information of the schema are not covered:
see schema object in openapi: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
The text was updated successfully, but these errors were encountered: