Skip to content
Open
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
312 changes: 173 additions & 139 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ generation:
requestResponseComponentNamesFeb2024: true
securityFeb2025: true
sharedErrorComponentsApr2025: true
sharedNestedComponentsJan2026: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
Expand All @@ -21,6 +22,7 @@ generation:
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits: {}
tests:
generateTests: false
Expand All @@ -30,7 +32,7 @@ generation:
backoffStrategy: exponential
maxRetries: 3
python:
version: 0.3.7
version: 0.4.0
additionalDependencies:
dev: {}
main: {}
Expand Down Expand Up @@ -77,3 +79,4 @@ python:
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
useAsyncHooks: false
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.680.12
speakeasyVersion: 1.704.0
sources:
nest-openapi:
sourceNamespace: python-sdk
sourceRevisionDigest: sha256:1ec8b5202117c9fab033b9e860db0c29e3a3bc583b8d16f38d0600f994596686
sourceBlobDigest: sha256:143881682a7f254e0910541f26427e13242d4cf68f6c5a09e4b07742eaac668f
sourceRevisionDigest: sha256:ac60db7c34c5d7d0165c8b04d171166325eae3f0c93ef5e02471550a2fe70aa6
sourceBlobDigest: sha256:9a16c6178e04db6291b58f83fac8ec5dcce22793c8862125c67b83bb60bbd576
tags:
- latest
- speakeasy-sdk-regen-1767573730
- speakeasy-sdk-regen-1769388120
- 0.3.6
targets:
nest-api:
Expand All @@ -19,10 +19,10 @@ targets:
nest-sdk-python:
source: nest-openapi
sourceNamespace: python-sdk
sourceRevisionDigest: sha256:1ec8b5202117c9fab033b9e860db0c29e3a3bc583b8d16f38d0600f994596686
sourceBlobDigest: sha256:143881682a7f254e0910541f26427e13242d4cf68f6c5a09e4b07742eaac668f
sourceRevisionDigest: sha256:ac60db7c34c5d7d0165c8b04d171166325eae3f0c93ef5e02471550a2fe70aa6
sourceBlobDigest: sha256:9a16c6178e04db6291b58f83fac8ec5dcce22793c8862125c67b83bb60bbd576
codeSamplesNamespace: python-code-samples
codeSamplesRevisionDigest: sha256:7fd55e0ebc1e8b2270743b5aa79d8ebee70911bb284f477ee405403ca4650add
codeSamplesRevisionDigest: sha256:4ca09ab3e3248399bfa86972282727a9f10e9c9804697ed51215142ba34414c8
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
9 changes: 6 additions & 3 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ It's also possible to write a standalone Python script without needing to set up
```python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.9"
# requires-python = ">=3.10"
# dependencies = [
# "owasp-nest",
# ]
Expand Down Expand Up @@ -310,6 +310,7 @@ with Nest(

### Example
```python
import owasp_nest
from owasp_nest import Nest, models


Expand All @@ -334,15 +335,16 @@ with Nest(
print(e.raw_response)

# Depending on the method different errors may be thrown
if isinstance(e, models.ChapterError):
if isinstance(e, models.ValidationErrorSchema):
print(e.data.message) # str
print(e.data.errors) # OptionalNullable[owasp_nest.Errors]
```

### Error Classes
**Primary error:**
* [`NestError`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/nesterror.py): The base class for HTTP error responses.

<details><summary>Less common errors (17)</summary>
<details><summary>Less common errors (18)</summary>

<br />

Expand All @@ -353,6 +355,7 @@ with Nest(


**Inherit from [`NestError`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/nesterror.py)**:
* [`ValidationErrorSchema`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/validationerrorschema.py): Schema for validation error. Status code `400`. Applicable to 12 of 29 methods.*
* [`ChapterError`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/chaptererror.py): Chapter error schema. Status code `404`. Applicable to 1 of 29 methods.*
* [`CommitteeError`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/committeeerror.py): Committee error schema. Status code `404`. Applicable to 1 of 29 methods.*
* [`EventError`](https://github.com/OWASP/nest-sdk-python/blob/master/./src/owasp_nest/models/eventerror.py): Event error schema. Status code `404`. Applicable to 1 of 29 methods.*
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ It's also possible to write a standalone Python script without needing to set up
```python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.9"
# requires-python = ">=3.10"
# dependencies = [
# "owasp-nest",
# ]
Expand Down Expand Up @@ -310,6 +310,7 @@ with Nest(

### Example
```python
import owasp_nest
from owasp_nest import Nest, models


Expand All @@ -334,15 +335,16 @@ with Nest(
print(e.raw_response)

# Depending on the method different errors may be thrown
if isinstance(e, models.ChapterError):
if isinstance(e, models.ValidationErrorSchema):
print(e.data.message) # str
print(e.data.errors) # OptionalNullable[owasp_nest.Errors]
```

### Error Classes
**Primary error:**
* [`NestError`](./src/owasp_nest/models/nesterror.py): The base class for HTTP error responses.

<details><summary>Less common errors (17)</summary>
<details><summary>Less common errors (18)</summary>

<br />

Expand All @@ -353,6 +355,7 @@ with Nest(


**Inherit from [`NestError`](./src/owasp_nest/models/nesterror.py)**:
* [`ValidationErrorSchema`](./src/owasp_nest/models/validationerrorschema.py): Schema for validation error. Status code `400`. Applicable to 12 of 29 methods.*
* [`ChapterError`](./src/owasp_nest/models/chaptererror.py): Chapter error schema. Status code `404`. Applicable to 1 of 29 methods.*
* [`CommitteeError`](./src/owasp_nest/models/committeeerror.py): Committee error schema. Status code `404`. Applicable to 1 of 29 methods.*
* [`EventError`](./src/owasp_nest/models/eventerror.py): Event error schema. Status code `404`. Applicable to 1 of 29 methods.*
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,14 @@ Based on:
### Generated
- [python v0.3.7] .
### Releases
- [PyPI v0.3.7] https://pypi.org/project/owasp-nest/0.3.7 - .
- [PyPI v0.3.7] https://pypi.org/project/owasp-nest/0.3.7 - .

## 2026-02-05 00:46:30
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.704.0 (2.806.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.4.0] .
### Releases
- [PyPI v0.4.0] https://pypi.org/project/owasp-nest/0.4.0 - .
17 changes: 17 additions & 0 deletions docs/models/errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Errors


## Supported Types

### `List[Dict[str, Any]]`

```python
value: List[Dict[str, Any]] = /* values here */
```

### `Dict[str, Any]`

```python
value: Dict[str, Any] = /* values here */
```

18 changes: 9 additions & 9 deletions docs/models/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Schema for Event (minimal fields for list display).

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `end_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
| `key` | *str* | :heavy_check_mark: | N/A |
| `latitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `longitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `end_date` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `key` | *str* | :heavy_check_mark: | N/A |
| `latitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `longitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `start_date` | *str* | :heavy_check_mark: | N/A |
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
20 changes: 10 additions & 10 deletions docs/models/eventdetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Detail schema for Event (used in single item endpoints).

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `end_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
| `key` | *str* | :heavy_check_mark: | N/A |
| `latitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `longitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `end_date` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `key` | *str* | :heavy_check_mark: | N/A |
| `latitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `longitude` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `start_date` | *str* | :heavy_check_mark: | N/A |
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/listprojectsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `level` | [OptionalNullable[models.ProjectLevel]](../models/projectlevel.md) | :heavy_minus_sign: | Level of the project |
| `q` | *OptionalNullable[str]* | :heavy_minus_sign: | Structured search query (e.g. 'name:security stars:>100') |
| `ordering` | [OptionalNullable[models.ListProjectsOrdering]](../models/listprojectsordering.md) | :heavy_minus_sign: | Ordering field |
| `page` | *Optional[int]* | :heavy_minus_sign: | Page number |
| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of items per page |
11 changes: 11 additions & 0 deletions docs/models/validationerrorschema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ValidationErrorSchema

Schema for validation error.


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `message` | *str* | :heavy_check_mark: | N/A |
| `errors` | [OptionalNullable[models.Errors]](../models/errors.md) | :heavy_minus_sign: | N/A |
9 changes: 5 additions & 4 deletions docs/sdks/chapters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ with Nest(

### Errors

| Error Type | Status Code | Content Type |
| ------------------- | ------------------- | ------------------- |
| models.ChapterError | 404 | application/json |
| models.NestAPIError | 4XX, 5XX | \*/\* |
| Error Type | Status Code | Content Type |
| ---------------------------- | ---------------------------- | ---------------------------- |
| models.ValidationErrorSchema | 400 | application/json |
| models.ChapterError | 404 | application/json |
| models.NestAPIError | 4XX, 5XX | \*/\* |
9 changes: 5 additions & 4 deletions docs/sdks/committees/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ with Nest(

### Errors

| Error Type | Status Code | Content Type |
| --------------------- | --------------------- | --------------------- |
| models.CommitteeError | 404 | application/json |
| models.NestAPIError | 4XX, 5XX | \*/\* |
| Error Type | Status Code | Content Type |
| ---------------------------- | ---------------------------- | ---------------------------- |
| models.ValidationErrorSchema | 400 | application/json |
| models.CommitteeError | 404 | application/json |
| models.NestAPIError | 4XX, 5XX | \*/\* |
Loading