Skip to content

Commit

Permalink
Rename Examples -> examples
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Feb 10, 2025
1 parent 9dc0b23 commit ab27783
Show file tree
Hide file tree
Showing 128 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/guide/common-techniques.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ This doesn't do anything by itself, but now you can reference this fragment by i
```

::: info Examples
There are more uses cases on how to use refs in the [using-refs example](https://github.com/zircote/swagger-php/tree/master/Examples/using-refs).
There are more uses cases on how to use refs in the [using-refs example](https://github.com/zircote/swagger-php/tree/master/examples/specs/using-refs).
:::

## Array parameters in query
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Use an OpenAPI tool like [Swagger UI ](https://swagger.io/tools/swagger-ui/) to
- [Reference](reference/index.md)
- [OpenApi Documentation](https://learn.openapis.org/)
- [OpenApi Specification](https://spec.openapis.org/oas/v3.1.0.html)
- [Learn by example](https://github.com/zircote/swagger-php/tree/master/Examples)
- [Learn by example](https://github.com/zircote/swagger-php/tree/master/examples#readme)
- [Related projects](related-projects.md)
- [swagger-php 2.x documentation](https://github.com/zircote/swagger-php/tree/2.x/docs)
- [swagger-php 3.x documentation](https://github.com/zircote/swagger-php/tree/3.x/docs)
2 changes: 1 addition & 1 deletion docs/reference/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This page is generated automatically from the `swagger-php` sources.
For improvements head over to [GitHub](https://github.com/zircote/swagger-php) and create a PR ;)


In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/Examples#readme) which might help you out.
In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/examples#readme) which might help you out.

## Annotations
### [AdditionalProperties](https://github.com/zircote/swagger-php/tree/master/src/Annotations/AdditionalProperties.php)
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This page is generated automatically from the `swagger-php` sources.
For improvements head over to [GitHub](https://github.com/zircote/swagger-php) and create a PR ;)


In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/Examples#readme) which might help you out.
In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/examples#readme) which might help you out.

## Attributes
### [AdditionalProperties](https://github.com/zircote/swagger-php/tree/master/src/Attributes/AdditionalProperties.php)
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/preamble_annotations.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/Examples#readme) which might help you out.
In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/examples#readme) which might help you out.
2 changes: 1 addition & 1 deletion docs/snippets/preamble_attributes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/Examples#readme) which might help you out.
In addition to this page, there are also a number of [examples](https://github.com/zircote/swagger-php/tree/master/examples#readme) which might help you out.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/Concerns/UsesExamples.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait UsesExamples
{
public static function examplePath(string $name): string
{
return sprintf('%s/Examples/specs/%s', dirname(__DIR__, 2), $name);
return sprintf('%s/examples/specs/%s', dirname(__DIR__, 2), $name);
}

public function getSpecFilename(string $name, string $implementation = 'annotations', string $version = OpenApi::VERSION_3_0_0): string
Expand Down

0 comments on commit ab27783

Please sign in to comment.