Skip to content

Adding openapi#13

Merged
eduardoworrel merged 3 commits into
mainfrom
addin-openapi
Jun 27, 2025
Merged

Adding openapi#13
eduardoworrel merged 3 commits into
mainfrom
addin-openapi

Conversation

@eduardoworrel

Copy link
Copy Markdown
Contributor

No description provided.

Eduardo Worrel and others added 3 commits June 22, 2025 20:45
- Add Swashbuckle.AspNetCore.Annotations package for better API docs
- Implement SwaggerSchemaExampleFilter with detailed request examples
- Create comprehensive SwaggerModels for all AI task endpoints
- Refactor TasksEndPoints to use strongly-typed request models
- Remove unused HealthCheckEndPoints and related code
- Improve Swagger UI configuration with better grouping and metadata
- Implement JsonPolymorphicSchemaFilter and JsonPolymorphicDocumentFilter for System.Text.Json polymorphism
- Refactor TextGeneration models to use polymorphic base class
- Update Swagger configuration to support polymorphic serialization
- Modify task endpoints to handle polymorphic requests and improve error handling
- Clean up TranslationResponse model by removing unused fields
- Add null checks for form values in TaskRequest processing
…e swagger docs

- Replace polymorphic JSON configuration with separate endpoints for each provider
- Add new request/response contracts for text generation tasks
- Update AI model contracts with proper property types
- Implement new swagger filters for better API documentation
- Remove old polymorphic JSON configuration and related filters
- Update docker-compose and appsettings for local development
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
5.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@eduardoworrel eduardoworrel merged commit e8dbd98 into main Jun 27, 2025
5 of 6 checks passed
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.

1 participant