Skip to content

[DRAFT] HTTP Examples - #157

Merged
eldadfux merged 7 commits into
appwrite:masterfrom
PineappleIOnic:http-template-support
May 5, 2021
Merged

eldadfux merged 7 commits into
appwrite:masterfrom
PineappleIOnic:http-template-support

Conversation

@PineappleIOnic

Copy link
Copy Markdown
Contributor

This PR adds examples for HTTP into the appwrite SDK Generator. It still needs alot of work and this PR is mainly open to continue conversation on what needs to be modified and improved with the examples.

Thank you for reviewing this PR

Comment thread src/SDK/Language/HTTP.php Outdated
[
'scope' => 'method',
'destination' => 'docs/examples/{{service.name | caseLower}}/{{method.name | caseDash}}',
'template' => '/http/docs/service.twig',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

example.md.twig will be more consistent use of the file name compared to other language templates.

@lohanidamodar lohanidamodar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job @PineappleIOnic.
Just some extra spacing and some things I don't understand.

Comment thread templates/http/docs/service.twig Resolved
Comment thread templates/http/docs/service.twig Resolved
@eldadfux
eldadfux merged commit 9ab3af1 into appwrite:master May 5, 2021
@eldadfux

eldadfux commented May 5, 2021

Copy link
Copy Markdown
Member

Awesome work @PineappleIOnic 🎉

@PineappleIOnic
PineappleIOnic deleted the http-template-support branch May 5, 2021 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants