Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
be90964
modernize the api, first commit before fine-tuning
HannoZ Apr 19, 2026
75758f4
some tidying up
HannoZ Apr 20, 2026
068ec9c
fix pipelines
HannoZ Apr 21, 2026
03e925d
remove deleted file from project
HannoZ Apr 21, 2026
e839938
implemented a bunch of code review stuff
HannoZ Apr 26, 2026
1b5c89a
Refactor Lexicala.NET Codebase and Enhance Testing
HannoZ Apr 27, 2026
e3266c0
feat: add initial setup for React application with Vite
HannoZ Apr 28, 2026
e6cc2f4
restructure workspace
HannoZ Apr 28, 2026
cb7c3f5
refactor: update solution file references and enhance response deseri…
HannoZ Apr 28, 2026
afd6a14
feat: add Give Up functionality and enhance rate limit handling in ga…
HannoZ Apr 28, 2026
5292bbc
feat: enhance documentation with XML comments for clarity and maintai…
HannoZ Apr 28, 2026
54ca484
Update README.md
HannoZ Apr 28, 2026
7b80aad
Update README.md
HannoZ Apr 28, 2026
96a5033
Update changelog.md
HannoZ Apr 28, 2026
9b2245a
fix: correct array initialization syntax and update project file for …
HannoZ Apr 28, 2026
3e799f7
Merge branch 'modernize' of https://github.com/HannoZ/Lexicala.NET in…
HannoZ Apr 28, 2026
67486ce
Fix README Sense.Translations example to use Dictionary API correctly
Copilot Apr 28, 2026
6b35548
refactor: change SearchResponseJsonConverter class and member access …
HannoZ Apr 29, 2026
07075b6
Potential fix for pull request finding
HannoZ Apr 29, 2026
7979497
fix xml doc
HannoZ Apr 29, 2026
d1f8090
Merge branch 'modernize' of https://github.com/HannoZ/Lexicala.NET in…
HannoZ Apr 29, 2026
a407ee1
Potential fix for pull request finding
HannoZ Apr 29, 2026
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
34 changes: 34 additions & 0 deletions .github/instructions/repository-information.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: repository-information
description: "Use when referring to repository structure, project layout, or overall information about the Lexicala.NET repo."
applyTo: "**/*"
---

This repository contains the Lexicala.NET client library and related projects.

Official documentation: https://api.lexicala.com/documentation/

Key repository information:

- Solution: `source/Lexicala.NET.slnx`
- Projects:
- `source/Lexicala.NET/` — main library project with the Lexicala client, configuration, parsing, request, and response types
- `source/Demo/Lexicala.NET.Demo.Api/` — ASP.NET Core host with Swagger UI for manually exercising the implemented Lexicala endpoints
- `source/Lexicala.NET.Tests/` — unit tests and parser tests with embedded JSON fixtures under `Resources/`
- Target frameworks:
- `source/Lexicala.NET/` — `net8.0` and `net10.0`
- `source/Demo/Lexicala.NET.Demo.Api/` — `net10.0`
- `source/Lexicala.NET.Tests/` — `net10.0`
- Purpose: provides a .NET SDK for interacting with the Lexicala API, including request models, response models, parser/search abstractions, dependency registration, and a Swagger-enabled local test host.
- Repository is organized into:
- `Parsing/` for search parser implementation and DTO models
- `Request/` for request model definitions
- `Response/` for response model definitions and metadata
- `.github/workflows/` for CI, PR validation, and package publishing workflows

Current API surface highlights:

- Supported client endpoints include `/test`, `/languages`, `/search`, `/search-entries`, `/search-rdf`, `/search-definitions`, `/fluky-search`, `/entries`, `/senses`, and advanced search variants.
- The `/me` endpoint has been removed and should not be described as supported.

When answering questions about this repository, reference this file for the canonical project layout and repository-level details.
18 changes: 9 additions & 9 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Build & Test

on:
push:
paths-ignore: '**.md'
paths-ignore: ['**.md']
# don't run on master because we already have another action for that
branches-ignore: master
branches-ignore: [master]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 8
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: '10.0.x'
- name: Install dependencies
run: dotnet restore ./source/Lexicala.NET.sln
run: dotnet restore ./source/Lexicala.NET.slnx
- name: Build
run: dotnet build ./source/Lexicala.NET.sln --configuration Release --no-restore
run: dotnet build ./source/Lexicala.NET.slnx --configuration Release --no-restore
- name: Test
run: dotnet test ./source/Lexicala.NET.sln --no-restore --verbosity normal
run: dotnet test ./source/Lexicala.NET.slnx --no-restore --verbosity normal
14 changes: 7 additions & 7 deletions .github/workflows/build-test_pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
- name: Install dependencies
run: dotnet restore ./source/Lexicala.NET.sln
run: dotnet restore ./source/Lexicala.NET.slnx
- name: Build
run: dotnet build ./source/Lexicala.NET.sln --configuration Release --no-restore
run: dotnet build ./source/Lexicala.NET.slnx --configuration Release --no-restore
- name: Test
run: dotnet test ./source/Lexicala.NET.sln --no-restore --verbosity normal
run: dotnet test ./source/Lexicala.NET.slnx --no-restore --verbosity normal
29 changes: 0 additions & 29 deletions .github/workflows/package-Ms_DI.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/package-autofac.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/package-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ name: Build Test Package
on:
push:
branches: [ master ]
paths-ignore: '**.md'
paths-ignore: ['**.md']

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 8
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
- name: Install dependencies
run: dotnet restore ./source/Lexicala.NET.sln
run: dotnet restore ./source/Lexicala.NET.slnx
- name: Build
run: dotnet build ./source/Lexicala.NET.sln --configuration Release --no-restore
run: dotnet build ./source/Lexicala.NET.slnx --configuration Release --no-restore
- name: Test
run: dotnet test ./source/Lexicala.NET.sln --no-restore --verbosity normal
run: dotnet test ./source/Lexicala.NET.slnx --no-restore --verbosity normal
- name: Publish to Nuget
uses: alirezanet/publish-nuget@v3.0.4
with:
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ MigrationBackup/
# End of https://www.toptal.com/developers/gitignore/api/visualstudio


/source/Lexicala.NET.ConsoleApp/appsettings.json
/source/Lexicala.NET.ConsoleApp.NET472/App.config
/source/Visual Studio 2022/Visualizers
# ignnore local Snyk files
.vscode/settings.json
.vscode/diff/vulsCount.txt
Loading
Loading