Skip to content

Commit

Permalink
fix: typos in documentation files (projectdiscovery#6027)
Browse files Browse the repository at this point in the history
* Update generator.go

* Update README.md
  • Loading branch information
kilavvy authored Feb 4, 2025
1 parent 53748c4 commit 82a5d35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/input/formats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ This module parser Postman Collection JSON files.

### 3. Auth Type Parsing:
Able to parse and set the `Authentication` options provided in the postman collection in the request headers.
Supported types of authentiction:
Supported types of authentication:

1. **API Key**: In header
2. **Basic**: Setting basic auth through username, password.
Expand All @@ -87,4 +87,4 @@ Swagger specification file is converted from OpenAPI 2.0 format to OpenAPI 3.0 f

## Burp XML / Proxify JSONL

These modules are generic and parse raw requests from these respective tools.
These modules are generic and parse raw requests from these respective tools.
2 changes: 1 addition & 1 deletion pkg/input/formats/openapi/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func generateRequestsFromOp(opts *generateReqOptions) error {
// if it is in path then remove it from path
opts.requestPath = strings.Replace(opts.requestPath, fmt.Sprintf("{%s}", value.Name), "", -1)
if !opts.opts.RequiredOnly {
gologger.Verbose().Msgf("openapi: skipping optinal param (%s) in (%v) in request [%s] %s due to missing value (%v)\n", value.Name, value.In, opts.method, opts.requestPath, value.Name)
gologger.Verbose().Msgf("openapi: skipping optional param (%s) in (%v) in request [%s] %s due to missing value (%v)\n", value.Name, value.In, opts.method, opts.requestPath, value.Name)
}
continue
}
Expand Down

0 comments on commit 82a5d35

Please sign in to comment.