Skip to content

Commit 85f0a96

Browse files
authored
Update swagger instructions (#398)
## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> ## 📔 Objective Simplify the instructions by using the script that is now part of the server repo: bitwarden/server#6066 ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes
1 parent b8e494b commit 85f0a96

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,10 @@ need to build the internal swagger documentation.
6969

7070
### Swagger generation
7171

72-
The first step is to generate the swagger documents from the server repository.
72+
The first step is to generate the swagger documents from the root of the server repository.
7373

7474
```bash
75-
# src/Api
76-
dotnet swagger tofile --output ../../api.json ./bin/Debug/net8.0/Api.dll internal
77-
78-
# src/Identity
79-
ASPNETCORE_ENVIRONMENT=development dotnet swagger tofile --output ../../identity.json ./bin/Debug/net8.0/Identity.dll v1
75+
pwsh ./dev/generate_openapi_files.ps1
8076
```
8177

8278
### OpenApi Generator

0 commit comments

Comments
 (0)