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
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: Install documentation dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m pip install --upgrade pip --only-binary :all:
pip install -r requirements.txt --only-binary :all:

- name: Build documentation
run: mkdocs build --strict
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
echo "PACKAGE_PATH=$EXPECTED" >> $GITHUB_ENV

- name: NuGet login
uses: NuGet/login@v1
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # v1
id: login
with:
user: ${{ secrets.NUGET_USER }}
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs>=1.6
mkdocs-material>=9.6
pymdown-extensions>=10.14
mkdocs-mermaid2-plugin>=1.2
mkdocs==1.6.1
mkdocs-material==9.7.7
pymdown-extensions==11.0.1
mkdocs-mermaid2-plugin==1.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Core.OpenApi.Swashbuckle.Baseline.Sample.Models;

public class Item
{
public int Id { get; set; }
public required int Id { get; set; }
public string Name { get; set; } = string.Empty;
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
app.UseSwaggerUI(ui => ui.SwaggerEndpoint("/swagger/v1/swagger.json", "Baseline API v1"));

app.MapControllers();
app.Run();
await app.RunAsync();
2 changes: 1 addition & 1 deletion samples/Core.OpenApi.Swashbuckle.Sample/Models/Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Core.OpenApi.Swashbuckle.Sample.Models;

public class Item
{
public int Id { get; set; }
public required int Id { get; set; }
public string Name { get; set; } = string.Empty;
}
2 changes: 1 addition & 1 deletion samples/Core.OpenApi.Swashbuckle.Sample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
app.UseCoreOpenApi();
app.MapControllers();

app.Run();
await app.RunAsync();
Loading