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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## major.minor.patch (yyyy.mm.dd)

## 1.3.1 (2026.04.14)

### Fixed

* Add 404 on response for `Analytics.upsert_analytics_rule`.

## 1.3.0 (2026.04.14)

### Chore
Expand Down
3 changes: 2 additions & 1 deletion lib/open_api_typesense/operations/analytics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ defmodule OpenApiTypesense.Analytics do
response: [
{200, {OpenApiTypesense.AnalyticsRule, :t}},
{400, {OpenApiTypesense.ApiResponse, :t}},
{401, {OpenApiTypesense.ApiResponse, :t}}
{401, {OpenApiTypesense.ApiResponse, :t}},
{404, {OpenApiTypesense.ApiResponse, :t}}
Comment thread
jaeyson marked this conversation as resolved.
],
opts: opts
})
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule OpenApiTypesense.MixProject do

@source_url "https://github.com/jaeyson/open_api_typesense"
@hex_url "https://hexdocs.pm/open_api_typesense"
@version "1.3.0"
@version "1.3.1"

def project do
[
Expand Down
6 changes: 6 additions & 0 deletions priv/open_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,12 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ApiResponse"
'404':
description: Analytics rule not found
content:
application/json:
schema:
$ref: "#/components/schemas/ApiResponse"
get:
tags:
- analytics
Expand Down