Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions backend/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -579,17 +579,14 @@ components:
title:
type: string
minLength: 2
maxLength: 255
example: "Database Connection Failure"
errorDescription:
type: string
minLength: 2
maxLength: 255
example: "Connection refused at localhost:5432"
solution:
type: string
minLength: 2
maxLength: 255
nullable: true
example: "Restart PostgreSQL database container"
status:
Expand All @@ -603,17 +600,14 @@ components:
title:
type: string
minLength: 2
maxLength: 255
example: "Updated Problem Title"
errorDescription:
type: string
minLength: 2
maxLength: 255
example: "Updated error details"
solution:
type: string
minLength: 2
maxLength: 255
example: "Updated solution steps"
severity:
$ref: '#/components/schemas/ProblemSeverity'
Expand Down Expand Up @@ -5121,4 +5115,3 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'


2 changes: 1 addition & 1 deletion backend/internal/domain/model/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package model

// AppVersion stores the compiled version of the application.
// Automatically maintained by scripts/sync-version.js and injected into the go build via -ldflags.
var AppVersion = "v0.2.1-beta"
var AppVersion = "v0.2.2-beta"
8 changes: 4 additions & 4 deletions backend/internal/dto/problem_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
type CreateProblemCommand struct {
ProjectID uuid.UUID `json:"projectID"`
Title string `json:"title" binding:"required,min=2,max=255"`
ErrorDescription string `json:"errorDescription" binding:"required,min=2,max=255"`
Solution *string `json:"solution,omitempty" binding:"omitempty,min=2,max=255"`
ErrorDescription string `json:"errorDescription" binding:"required,min=2"`
Solution *string `json:"solution,omitempty" binding:"omitempty,min=2"`
Status model.ProblemStatus `json:"status" binding:"required"`
Severity model.ProblemSeverity `json:"severity" binding:"required"`
}
Expand All @@ -21,8 +21,8 @@ type UpdateProblemCommand struct {
ProjectID uuid.UUID `json:"projectID"`
ID uuid.UUID `json:"id"`
Title *string `json:"title,omitempty" binding:"omitempty,min=2,max=255"`
ErrorDescription *string `json:"errorDescription,omitempty" binding:"omitempty,min=2,max=255"`
Solution *string `json:"solution,omitempty" binding:"omitempty,min=2,max=255"`
ErrorDescription *string `json:"errorDescription,omitempty" binding:"omitempty,min=2"`
Solution *string `json:"solution,omitempty" binding:"omitempty,min=2"`
Severity *model.ProblemSeverity `json:"severity,omitempty" binding:"omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "0.2.1-beta",
"version": "0.2.2-beta",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "devaulty"
version = "0.2.1-beta"
version = "0.2.2-beta"
description = "Devaulty Desktop Client"
authors = ["Matheus Cunha"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "Devaulty",
"version": "0.2.1-beta",
"version": "0.2.2-beta",
"identifier": "com.devaulty.app",
"build": {
"frontendDist": "../dist",
Expand Down
Loading