Skip to content
Draft
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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
- name: Build
run: dotnet build AzureExtensions.Functions.OpenApi.slnx -c Release --no-restore

- name: Test
run: dotnet test --solution AzureExtensions.Functions.OpenApi.slnx -c Release --no-build
- name: Test net8.0
run: dotnet test tests/AzureExtensions.Functions.OpenApi.Tests/AzureExtensions.Functions.OpenApi.Tests.csproj -f net8.0 -c Release --no-build

- name: Test net9.0
run: dotnet test tests/AzureExtensions.Functions.OpenApi.Tests/AzureExtensions.Functions.OpenApi.Tests.csproj -f net9.0 -c Release --no-build

- name: Test net10.0
run: dotnet test tests/AzureExtensions.Functions.OpenApi.Tests/AzureExtensions.Functions.OpenApi.Tests.csproj -f net10.0 -c Release --no-build

- name: Pack
run: dotnet pack src/AzureExtensions.Functions.OpenApi/AzureExtensions.Functions.OpenApi.csproj -c Release --no-build -o artifacts
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ By participating, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md

## Prerequisites

- [.NET 10 SDK](https://dotnet.microsoft.com/download) (see [`global.json`](global.json) for the pinned version)
- [.NET 10 SDK](https://dotnet.microsoft.com/download) (see [`global.json`](global.json) for the pinned version; the sample app still targets .NET 10, while the package targets .NET 8/.NET 9/.NET 10)
- Git

## Getting started
Expand Down Expand Up @@ -59,7 +59,7 @@ This repo uses a **dev-first** flow:
## Coding conventions

- Target framework and language settings follow the existing projects
(`net10.0`, nullable enabled, implicit usings).
(`net8.0;net9.0;net10.0` for the library/tests, `net10.0` for the sample app, nullable enabled, implicit usings).
- Match the surrounding code style; keep changes surgical and avoid unrelated churn.
- Prefer attribute-driven metadata for OpenAPI surface, consistent with the current design.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![CI](https://github.com/Doomblaster/AzureExtensions.Functions.OpenApi/actions/workflows/ci.yml/badge.svg)](https://github.com/Doomblaster/AzureExtensions.Functions.OpenApi/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

A reusable .NET 10 class library that adds an **OpenAPI 3.x document endpoint** to an
A reusable .NET class library for **.NET 8, .NET 9, and .NET 10** that adds an **OpenAPI 3.x document endpoint** to an
[Azure Functions isolated worker (v4)](https://learn.microsoft.com/azure/azure-functions/dotnet-isolated-process-guide)
app. Reference the package, call one registration method, and your app exposes an OpenAPI
specification over HTTP that reflects its **real API**.
Expand Down Expand Up @@ -626,7 +626,7 @@ samples/SampleFunctionApp/ # isolated worker v4 sample consumer
dotnet build AzureExtensions.Functions.OpenApi.slnx
```

Requires the .NET 10 SDK.
Building the full repo requires the .NET 10 SDK. The published package targets .NET 8, .NET 9, and .NET 10.

## Contributing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
Expand Down
Loading