This code generates kotlin code in modular style that is used in CrowdProj projects. Right now (version 0.0.6) only API models generation is fixed in respect to the default OpenAPI generators. So, the OpenAPI specs with discriminators are now correctly generated with the sealed classes and correct discriminator field. The generated models use Kotlin multiplatform kotlinx.serialization library and are prepared for the multiplatform projects.
The further plans include:
- Generation of the internal models
- Support several backend frameworks
- Generation of the storage models together with different databases repositories.
- Frontend and mobile apps forms generation
See the example of usage in the test project.
Copyright 2023 CrowdProj team
Copyright 2023 Sergey Okatov
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.