Skip to content

Conversation

@thaJeztah
Copy link
Member


api/types: NetworkCreate: add GoDoc

GoDoc is mostly copied from NetworkResource, which is the equivalent for
retrieving the information.

api: swagger: POST /networks/create: inline examples per-field

Move the example values per-field to reduce the risk of the example given
from diverging with the actual struct that's used for the request.

docs/api: POST /networks/create: inline examples per-field (v1.41 - v1.45)

Move the example values per-field to reduce the risk of the example given
from diverging with the actual struct that's used for the request.

This patch updates older API versions (went back to v1.41).

api: swagger: Network: inline examples, and add ConfigOnly, ConfigFrom

These fields were added in 9ee7b4d, but
not documented in the API docs / swagger.

Also move the example values per-field to reduce the risk of the example
given from diverging with the actual struct that's used for the request.

api: swagger: POST /networks/create: document Scope, ConfigOnly, ConfigFrom

Adds missing documentation for Scope, ConfigOnly, and ConfigFrom. The ConfigOnly
and ConfigFrom fields were added in 9ee7b4d,
but not documented in the API docs / swagger.

api: swagger: Network: add Peers

Add documentation for the Peers field.

docs/api: add Scope, ConfigOnly, ConfigFrom, Peers (v1.41 - v1.45)

  • api: swagger: Network: inline examples, and add ConfigOnly, ConfigFrom

    These fields were added in 9ee7b4d, but
    not documented in the API docs / swagger.

    Also move the example values per-field to reduce the risk of the example
    given from diverging with the actual struct that's used for the request.

  • api: swagger: POST /networks/create: document Scope, ConfigOnly, ConfigFrom

    Adds missing documentation for Scope, ConfigOnly, and ConfigFrom. The ConfigOnly
    and ConfigFrom fields were added in 9ee7b4d,
    but not documented in the API docs / swagger.

  • api: swagger: Network: add Peers

    Add documentation for the Peers field.

- Description for the changelog

docs: api: add missing docs for Scope, ConfigOnly, ConfigFrom, Peers

- A picture of a cute animal (not mandatory but encouraged)

thaJeztah added 7 commits June 3, 2024 13:14
GoDoc is mostly copied from NetworkResource, which is the equivalent for
retrieving the information.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit d64e220)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Move the example values per-field to reduce the risk of the example given
from diverging with the actual struct that's used for the request.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 5188516)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…1.45)

Move the example values per-field to reduce the risk of the example given
from diverging with the actual struct that's used for the request.

This patch updates older API versions (went back to v1.41).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 6cab6d0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
These fields were added in 9ee7b4d, but
not documented in the API docs / swagger.

Also move the example values per-field to reduce the risk of the example
given from diverging with the actual struct that's used for the request.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8b7a54f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…igFrom

Adds missing documentation for Scope, ConfigOnly, and ConfigFrom. The ConfigOnly
and ConfigFrom fields were added in 9ee7b4d,
but not documented in the API docs / swagger.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4412553)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Add documentation for the Peers field.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 53542fe)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- api: swagger: Network: inline examples, and add ConfigOnly, ConfigFrom

  These fields were added in 9ee7b4d, but
  not documented in the API docs / swagger.

  Also move the example values per-field to reduce the risk of the example
  given from diverging with the actual struct that's used for the request.

- api: swagger: POST /networks/create: document Scope, ConfigOnly, ConfigFrom

  Adds missing documentation for Scope, ConfigOnly, and ConfigFrom. The ConfigOnly
  and ConfigFrom fields were added in 9ee7b4d,
  but not documented in the API docs / swagger.

- api: swagger: Network: add Peers

  Add documentation for the Peers field.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 69f1e2a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@vvoland vvoland merged commit 2861734 into moby:26.1 Jun 3, 2024
@thaJeztah thaJeztah deleted the 26.1_backport_api_docs_network_config_only branch June 3, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants