profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/philsturgeon/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Phil Sturgeon philsturgeon @stoplightio Europe https://philsturgeon.com/ I make API Design tools @stoplightio, teach folks how to build APIs at @apisyouwonthate, and live on my bicycle doing laps of Europe. Formerly @wework @pyrocms.

codeguy/php-the-right-way 8161

An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web

chriskacerguis/codeigniter-restserver 4747

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

json-schema-org/json-schema-spec 2330

The JSON Schema I-D sources

philsturgeon/awesome-earth 966

"What can I do about the climate crisis?" Here are 326 things you can do.

philsturgeon/codeigniter-restclient 693

STOP USING THIS USE GUZZLE INSTEAD >.<

Mermade/oas-kit 556

Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint

apisyouwonthate/build-apis-you-wont-hate 477

Resources for the book: Building APIs You Won't Hate

philsturgeon/codeigniter-template 414

Template library for CodeIgniter which supports modules, themes, partial views, etc.

philsturgeon/codeigniter-curl 382

THIS IS NO LONGER MAINTAINED, USE http://docs.guzzlephp.org INSTEAD

philsturgeon/codeigniter-oauth2 365

NO LONGER ACTIVELY MAINTAINED. USE https://github.com/thephpleague/oauth2-client INSTEAD

delete branch stoplightio/elements

delete branch : doc-fix

delete time in 12 hours

push eventstoplightio/elements

Nauman

commit sha 312f33ad09c91fbd4c3aa69cdace8fc655d106a1

Documentation additions (#1659) * Modified docs/getting-started/usage/web-component.md * Modified 2 files

view details

push time in 12 hours

PR merged stoplightio/elements

Documentation additions
+4 -2

2 comments

3 changed files

mnaumanali94

pr closed time in 12 hours

PullRequestReviewEvent

issue openedprotect-earth/TreeTracker

Automate iOS Builds

With GitHub Actions could we automate the release of iOS builds to TestFlight/App Store, so that we don't have to pester @sunshinejr to build them?

I spotted this: https://engineering.talkdesk.com/test-and-deploy-an-ios-app-with-github-actions-44de9a7dcef6

I also saw a semantic-release based solution floating around a while back, which could help give appropriate version numbers based on feature or fix.

created time in a day

pull request commentAPIDevTools/json-schema-ref-parser

Replace deprecated resolve function

Thank you for this pull request! If this has solved the casing issue mentioned in the issue, could you add a test case providing that?

neosat55

comment created time in 2 days

pull request commentstoplightio/elements

fix: openapi and schema examples validations rendering

Yes and I believe it already is somewhat.

-- Phil Sturgeon Product @ Stoplight.io

On Jul 29, 2021, at 17:29, Marcell Toth ***@***.***> wrote:

I think that's a candidate for simplification by http-spec

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub, or unsubscribe.

mpodlasin

comment created time in 5 days

pull request commentstoplightio/elements

fix: openapi and schema examples validations rendering

Please make sure schema.example is supported because it’s an important and regularly used OAS3 keyword.

https://phil.tech/2020/openapi-examples/

-- Phil Sturgeon Product @ Stoplight.io

On Jul 29, 2021, at 14:06, netlify[bot] ***@***.***> wrote:

✔️ Deploy Preview for stoplight-elements ready!

🔨 Explore the source changes: 29dedb6

🔍 Inspect the deploy log: https://app.netlify.com/sites/stoplight-elements/deploys/610299227a9f84000701122b

😎 Browse the preview: https://deploy-preview-1654--stoplight-elements.netlify.app

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub, or unsubscribe.

mpodlasin

comment created time in 5 days

issue commentstoplightio/elements

Examples in Parameter Objects can appear in multiple places

I’m still away from keyboard but short answer is that the example keyword is not a JSON schema keyword it’s an OAS3.0 keyword.

https://phil.tech/2020/openapi-examples/

It’s deprecated but still around in OAS3.1.

-- Phil Sturgeon Product @ Stoplight.io

On Jul 29, 2021, at 14:18, Mateusz Podlasin ***@***.***> wrote:

This is partially solved in #1654

  - name: single-example-good
    description: Valid to its schema
    in: query
    schema: 
      type: string
      enum: [foo, bar]
    example: foo

will now work.

However this:

  - name: single-schema-example-good
    description: Valid to its schema
    in: query
    schema: 
      type: string
      enum: [foo, bar]
      example: foo

is a bit trickier. Spec for JSON Schema only mentions "examples" parameter (plural). https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.9.5

There is no mention of "example" (singular).

Even in TypeScript we don't have access to "example" property, since http-spec claims we are getting a JSONSchema7 instance.

So should "example" (singular) parameter in JSON Schema be even supported?

@marbemac @philsturgeon

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

philsturgeon

comment created time in 5 days

pull request commentopenapi-contrib/json-schema-to-openapi-schema

feat: add command line to convert files

Done! Thank you for this amazing work.

Hopefully you won’t need it for long and can get up to OpenAPI v3.1 instead of having to convert stuff, but until everyone is upgraded many people will be grateful for this.

On Thu, Jul 29, 2021 at 09:57, github-actions[bot] ***@***.***> wrote:

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

  • [npm package @***. ***@***.***/json-schema-to-openapi-schema/v/2.1.0)
  • GitHub release

Your semantic-release bot 📦🚀

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

diegotremper

comment created time in 5 days

push eventopenapi-contrib/json-schema-to-openapi-schema

diegotremper

commit sha b0df26ee3bfcd404e66f6ed66e3a4dbe000b7353

feat: add command line to convert files (#24) Co-authored-by: Tremper, Diego (ESI) <diego.tremper@adp.com>

view details

push time in 5 days

PR merged openapi-contrib/json-schema-to-openapi-schema

feat: add command line to convert files

This PR introduces a command-line option to this package.

Thanks!

+1183 -3831

0 comment

5 changed files

diegotremper

pr closed time in 5 days

PullRequestReviewEvent

issue commentstoplightio/elements

Wrong value range for string type as QUERY parameter

@EugenMayer the quick solution here is to remove style = SIMPLE on your end. It won’t ever do anything on a string.

EugenMayer

comment created time in 6 days

issue commentstoplightio/elements

Wrong value range for string type as QUERY parameter

If you look at 4.8.12.3 Style Values you will see those style values only apply to particular types. Primitive is shorthand for string, integer, bool, and if you see next to simple I’d say array. This means an array should actually be treated like a string, which in OAS3.x means CSV yeah.

I don’t really consider this a bug but we could harden against this unexpected usage. I’m not sure why type: string would be defined with simple, it doesn’t need it at all, but we should treat it like a noop.

Can we generally toughen our style logic to only apply it to types that the OAS spec defines as being relevant, and ignore any that are not relevant?

Bonus points if we can get spectral to point out irrelevant usage of styles too?

-- Phil Sturgeon Product @ Stoplight.io

On Jul 28, 2021, at 10:19, Eugen Mayer ***@***.***> wrote:

@mallachari thank you. your last part is exactly what needs to probably be discussed - right now with 'simple' you basically combine two different display methods of the same, which do not merge.

I understand that this is somewhat a miss-configuration, using simple and then defining the format manually.

I'm fine with both - let it be known I never was able to find https://spec.openapis.org/oas/latest.html#style-examples for this case to understand that this is the cause. It was debugging, try and error, and reducing until I found the cause. So maybe it is me, or it is not as simple for others to back-trace the problem to this.

You guys decide :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

EugenMayer

comment created time in 6 days

issue closedprotect-earth/TreeTracker

11888

closed time in 8 days

Edord99

pull request commentprotect-earth/TreeTracker

Interface Updates

Brilliant work! Embarrassingly I wasn't Watching this repo so I didn't notice it until now. 😊

If you have the time to finish up #38 I would really appreciate that. Autumn is when we mark dead trees for replacement in Winter so the map will help us work out where everything is for checking.

ay8s

comment created time in 8 days

push eventprotect-earth/TreeTracker

ay8s

commit sha 99cc36ee0cad4d451a80c8fba2c358678798c7ae

Interface Updates

view details

ay8s

commit sha e3110617365a71703b010bbe86317a106d107274

Couple of light/dark mode bug fixes

view details

Phil Sturgeon

commit sha 6a624415ec6c0ed8477f57077827848b17db243e

Merge pull request #41 from ay8s/task/ui-updates Interface Updates

view details

push time in 8 days

PR merged protect-earth/TreeTracker

Interface Updates
  • Adjusts backgrounds to use systemBackground and system label colors, enabling dark mode.
  • Removes Large Titles
  • Adds titles to tab bar along with system icons.
+35 -32

0 comment

16 changed files

ay8s

pr closed time in 8 days

pull request commentapisyouwonthate/openapi.tools

Update tools.yml - entry for OData OpenAPI

Thank you!

ralfhandl

comment created time in 8 days

push eventapisyouwonthate/openapi.tools

Ralf Handl

commit sha 52e8562d2e4812fd465f604429dfc2c68dfb8e7a

Update tools.yml adapted entry for OData OpenAPI

view details

Ralf Handl

commit sha 436d8f2276ef2eb36f45707a880399975a5bf817

Update tools.yml

view details

Phil Sturgeon

commit sha 7b3f19bb4a61057271e4d0376bfc529473afd9c9

Merge pull request #275 from ralfhandl/ralfhandl-patch-1 Update tools.yml - entry for OData OpenAPI

view details

push time in 8 days

PR merged apisyouwonthate/openapi.tools

Update tools.yml - entry for OData OpenAPI

adapted entry for OData OpenAPI

+2 -2

0 comment

1 changed file

ralfhandl

pr closed time in 8 days

PullRequestReviewEvent

delete branch apisyouwonthate/openapi.tools

delete branch : dependabot/bundler/rexml-3.2.5

delete time in 8 days

push eventapisyouwonthate/openapi.tools

dependabot[bot]

commit sha 8850fd4eb208080d5b1ae8e2685ad0dcfc70d3db

Bump rexml from 3.2.4 to 3.2.5 Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5) Signed-off-by: dependabot[bot] <support@github.com>

view details

Phil Sturgeon

commit sha 82b855ffd2b8fbb01281d24ab022915c18a4532d

Merge pull request #260 from apisyouwonthate/dependabot/bundler/rexml-3.2.5 Bump rexml from 3.2.4 to 3.2.5

view details

push time in 8 days

PR merged apisyouwonthate/openapi.tools

Bump rexml from 3.2.4 to 3.2.5 dependencies

Bumps rexml from 3.2.4 to 3.2.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ruby/rexml/blob/master/NEWS.md">rexml's changelog</a>.</em></p> <blockquote> <h2>3.2.5 - 2021-04-05 {#version-3-2-5}</h2> <h3>Improvements</h3> <ul> <li> <p>Add more validations to XPath parser.</p> </li> <li> <p><code>require "rexml/document"</code> by default. [GitHub#36][Patch by Koichi ITO]</p> </li> <li> <p>Don't add <code>#dcloe</code> method to core classes globally. [GitHub#37][Patch by Akira Matsuda]</p> </li> <li> <p>Add more documentations. [Patch by Burdette Lamar]</p> </li> <li> <p>Added <code>REXML::Elements#parent</code>. [GitHub#52][Patch by Burdette Lamar]</p> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed a bug that <code>REXML::DocType#clone</code> doesn't copy external ID information.</p> </li> <li> <p>Fixed round-trip vulnerability bugs. See also: <a href="https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/">https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/</a> [HackerOne#1104077][CVE-2021-28965][Reported by Juho Nurminen]</p> </li> </ul> <h3>Thanks</h3> <ul> <li> <p>Koichi ITO</p> </li> <li> <p>Akira Matsuda</p> </li> <li> <p>Burdette Lamar</p> </li> <li> <p>Juho Nurminen</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby/rexml/commit/a622645e980ea5b91ad7b4d6fec32d113f15df88"><code>a622645</code></a> Add 3.2.5 entry</li> <li><a href="https://github.com/ruby/rexml/commit/3c137eb119550874b2b3e27d12b733ca67033377"><code>3c137eb</code></a> Fix a parser bug that some data may be ignored before DOCTYPE</li> <li><a href="https://github.com/ruby/rexml/commit/9b311e59ae05749e082eb6bbefa1cb620d1a786e"><code>9b311e5</code></a> Fix a bug that invalid document declaration may be accepted</li> <li><a href="https://github.com/ruby/rexml/commit/f9d88e4948b4a43294c25dc0edb16815bd9d8618"><code>f9d88e4</code></a> Fix a bug that invalid document declaration may be generated</li> <li><a href="https://github.com/ruby/rexml/commit/f7bab8937513b1403cea5aff874cbf32fd5e8551"><code>f7bab89</code></a> Fix a bug that invalid element end may be accepted</li> <li><a href="https://github.com/ruby/rexml/commit/6a250d2cd1194c2be72becbdd9c3e770aa16e752"><code>6a250d2</code></a> Fix a bug that invalid element start may be accepted</li> <li><a href="https://github.com/ruby/rexml/commit/2fe62e29094d95921d7e19abbd2e26b23d78dc5b"><code>2fe62e2</code></a> Fix a bug that invalid notation declaration may be accepted</li> <li><a href="https://github.com/ruby/rexml/commit/a659c63e37414506dfb0d4655e031bb7a2e73fc8"><code>a659c63</code></a> Fix a bug that invalid notation declaration may be generated</li> <li><a href="https://github.com/ruby/rexml/commit/790dd113ce693ce831cbbc53f2f990a317643f75"><code>790dd11</code></a> Use ruby/setup-ruby (<a href="https://github-redirect.dependabot.com/ruby/rexml/issues/66">#66</a>)</li> <li><a href="https://github.com/ruby/rexml/commit/eda1b2007dd8751f381bf741f16c9e33c5d3e52a"><code>eda1b20</code></a> Clean up and enhance high-level RDoc (<a href="https://github-redirect.dependabot.com/ruby/rexml/issues/65">#65</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+1 -1

0 comment

1 changed file

dependabot[bot]

pr closed time in 8 days

push eventapisyouwonthate/openapi.tools

Guy Levin

commit sha a36e4e38cefcbd3166db79db245e0298fb49edd7

Add new tool under security category Add API Insights by RestCase

view details

Phil Sturgeon

commit sha 13e658c03ca654f553b26a143b010405d1cc448a

Merge pull request #268 from LevinGuy/patch-1 Add new tool under security category

view details

push time in 8 days

PR merged apisyouwonthate/openapi.tools

Add new tool under security category

Add API Insights by RestCase

+10 -0

0 comment

1 changed file

LevinGuy

pr closed time in 8 days

delete branch apisyouwonthate/openapi.tools

delete branch : dependabot/bundler/addressable-2.8.0

delete time in 8 days

push eventapisyouwonthate/openapi.tools

dependabot[bot]

commit sha ba6dc476595dde8a1d5e21059f40bdbfb0469734

Bump addressable from 2.7.0 to 2.8.0 Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/sporkmonger/addressable/releases) - [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md) - [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0) --- updated-dependencies: - dependency-name: addressable dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Phil Sturgeon

commit sha 40be55a7dbc3db3d904fdddd230f082f5d3af917

Merge pull request #274 from apisyouwonthate/dependabot/bundler/addressable-2.8.0 Bump addressable from 2.7.0 to 2.8.0

view details

push time in 8 days